YouTube has announced an enhancement to their video embed capability is now available through a new embed code style uses <iframe> tag., which supports HTML5 and fall back to Adobe Flash where HTML5 is not supported. Before this YouTube offered a Flash-based video palyer for embed videos, now, if you joined logged in to your Youtube account and had joined the HTML5 beta program, then you’ll see the HTML5 version instead of the Flash version.
Jun 2010, Google confirmed that Adobe Flash would continue to "play a critical role" on YouTube, said the fledgling HTML5 video tag didn’t meet the site’s needs..However, Google has offered an experimental HTML5 player that operates sans plug-in since January.
"Web site owners need to ensure that embedded content is not able to access private user information on the containing page, and we need to ensure that our video player logic travels with the video (for features like captions, annotations, and advertising). While HTML5 adds sandboxing and message-passing functionality, Flash is the only mechanism most web sites allow for embedded content from other sites."
Now, Google eventually wants to move away from Flash.
New Embed Code & Additional Restrictions
The new embed code style similar:
Here is an example:
Google also said,
"If you use the new embed code style, your viewers will be able to view your embedded video in one of our Flash or HTML5 players, depending on their viewing environment and preferences,"
The embed code will either revert to the familiar Flash plugin or switch to HTML5 depending on the browser and device. But don’t get your hopes up, there are some additional restrictions(YouTube are working on these):
- Videos with ads are not supported (they will play in the Flash player)
- On Firefox and Opera, only videos with WebM transcodes will play in HTML5
- If you’ve opted in to other testtube experiments, you may not get the HTML5 player (Feather is supported, though)
That means It will only force Flash when the video requires features HTML5 can’t yet handle, such as ad overlays.
Google’s HTML5 player
Google’s HTML5 player works with test versions of Firefox that support the WebM format, Google Chrome, Opera, Apple Safari 4.0 or later, the Microsoft Internet Explorer 9 beta, and other version of IE if they’re equipped with Google Chrome Frame, the plug-in that turns Microsoft’s browser into a Google browser.
Google has only begun to encode videos with WebM, and even test versions of Opera and Firefox don’t support H.264. Opera and Mozilla don’t believe in royalty-hampered codecs. So not all videos will work with the player.
In order to use the HTML5 player, you must join the beta program here.
Traffics From Mobile Device Users
Though Adobe rolls out Flash support for some smartphones including Android powered devices like Motorola Droid X, and RIM BlackBerry devices. However, Apple banned Flash platform in its popular products including the iPhone 4 and the iPad tablet device. Apple’s products made a huge success in the United States, and the momentum seems will continue.
Many iPhone 4 users were painful even more in the coming months, but it seems all will be fine–though the new player version isn’t standard yet, it should be soon. Most smartphone devices can play video soon even no Flash support. No one can afford to neglect the traffics, even YouTube.
In addition, YouTube is currently the number one online video sharing website, with over 100-million unique monthly users in the United States alone.