Embedding a single video into a website is easy and common. Nearly every video provider includes an
"embed" option for each video that provides an HTML
<iframe> that can be added to
any website. If you're reading this, you've probably done this countless times.
TubePress improves the embedding process by
The image below shows what a difference this can make. On the left is a TubePress-generated single video embed, on the right is a "plain" embed from YouTube
To embed a single video with TubePress, you simply need to give TubePress the ID of the video you'd like to show.
TubePress will figure out which video provider (YouTube, Vimeo, etc) the ID belongs to and will fetch the video.
For instance, if you want to embed the YouTube video with ID
J51kfduN5aA, you would use something
like the following:
<?php print TubePressPro::getHTML('video="J51kfduN5aA"');