A few months ago, when HTML5 first became all the rage, we told you about the HTML5 version of YouTube. While there are still some inherent issues with HTML5 video (namely the lack of a full screen option), it’s quickly taking off.
According to the YouTube API blog:
An enhancement to our video embed capability is now available through a new embed code style. This new style uses <iframe> and looks like this:
<iframe type=”text/html” width=”640″ height=”385″ src=”http://www.youtube.com/embed/VIDEO_ID” frameborder=”0″>
The new video embeds look great, but beyond that, they give the added ability to watch videos in HTML5. In using the iframe embed, your viewers will default to watching the video in HTML5 if possible, and then move to the Flash version if they’re not on a compatible system.
Though the new player version isn’t standard yet, it should be soon. YouTube says that it wants to give the developer community ample chance to test it and break it first, before taking it live.
We’d love to show you, but our column width is limited to 500 pixels. Apparently, if you move away from the standard 640 pixel width, it breaks the player.
This post is part of our contributor series. The views expressed are the author's own and not necessarily shared by TNW.
Pssst, hey you!
Do you want to get the sassiest daily tech newsletter every day, in your inbox, for FREE? Of course you do: sign up for Big Spam here.