Google has worked out a new way to embed videos that presents the right version of the company's YouTube video player depending on your system's capability.
Videos embedded with the new code will be served up in either an Adobe Flash wrapper, or in the company's HTML5 player, opening up viewing to a potentially broader audience and without any extra effort for the person who embedded a video in the first place.
According to the Google, the company plans to roll the new code format out as the new default for YouTube embeds, but is running it through its paces first. For instance, one nagging hang-up of the HTML5 player compared to its Flash cousin () is that it cannot yet serve up advertising, something Google is remedying by defaulting to Flash.
Since, YouTube has offered a similar viewing experience on its own site, though the convenience was not carried out to embedded videos. Instead, these linked to the clip in an Adobe Flash wrapper, which mobile devices like the iPhone and Android could identify and re-route to the source clip, but browsers without that logic built-in would see nothing at all. The new code fixes that.
Below you can see an example using the new embed code. If you've got Flash installed, it will be business as usual, but if you don't--and you're using an HTML5 video compatible browser like Firefox, Chrome or Safari--it will show up in the HTML5 player: