Its a real challenge providing a video on your web site that can be viewed on any device accessing it, i.e. desktop computer, smart phone, PDA, or tablet. HTML5 is gaining ground against Flash, but not all devices will support this format and may only have one type of video player installed. A computer that does not have the correct version of Flash will not be able to play certain Flash videos.
The solution to make videos cross platform is iframe embedding. This will allow a device to choose the right player for a video embedded on a web site.
iframe Embed on YouTube
A video can be embedded in YouTube with the following code:
<iframe class="youtube-player" type="text/html" width="640" height="385"
The URL in red is the URL of the video on YouTube. You need to include ?fs=1&hl=en_US after the video URL otherwise the HTML page will be embedded in the page as opposed to just the video.
The following is an example of iframe embedding.