Hooray! Embedded YouTube videos are beginning to work without Flash. How? YouTube announced they are experimenting with new embed code that uses the iFrame interface to switch between Flash and HTML5 versions of the video. The code will sense the type of device you’re on so, as en example, if you’re on your PC and you want to play ‘double rainbow’ you’ll get the video in Flash. If you’ve enabled HTML5 in YouTube and using Safari, you’ll see the MP4 version below. If you are on a new version of Firefox and its available, it will kick in WebM video.  Eventually.  It is still in beta.

For instance, to embed the above video, you need to use this code:

Here are the downsides to this awesome innovation. Videos that are ad supported won’t work on HTML5, website managers will have to manually adjust the video code (don’t adjust the player size!), and YouTube HTML5 will need to be enabled on your iOS device. OK, fanboys, you can go back to hating on Google now.


via NewTeeVee.

About the Author

Seth Weintraub's favorite gear