YouTube Embed Code Experiment

Posted on

  • email
  • twitter
  • facebook
  • share this

share this

YouTube is experimenting with a shorter, more compatible embed code which uses the < iframe > tag.

If you choose to use the new embed code style, site visitors will be able to view the embedded video in one of YouTube's Flash or HTML5 players depending on their viewing environment and preferences. Supported environments include those browsers that support both the video tag in HTML5 and either the h.264 video codec or the WebM format (with VP8 codec).

As an aside, WebM is a media file format designed exclusively for the Web.

The suppported browsers include Firefox (WebM enabled version), Google Chrome (h.264 supported), Opera (WebM supported), Microsoft IE 9 (h.264), and Apple Safari (h.264, version 4+). Should there be an instance when HTML5 is not supported, YouTube will use Flash.

One of the most significant developments of the new embed style is that it will eventually allow embeds to work on mobile devices.

There are a few restrictions to the beta-test of the new embed code. Videos with ads are not supported (they will play in the Flash player), and on Firefox and Opera only videos with WebM transcodes will play in HTML5.

To participate in this experiment, simply join the HTML5 beta here.

Filed under: , , ,

Login To Comment

Become a Member

Not already a part of our community? Sign up to participate in the discussion. It's free and quick.

Sign Up

1 comment

Clinton Gallagher; 07-30-2010 6:38 PM

Be advised there is no known way I have discovered to opt out of this once signing up which is deceptive as clicking a link sings you up and even clearing the IE browser's cache did not get rid of whatever is being used to track me.

Add to the discussion!

999 E Touhy Ave
Des Plaines, IL 60018

Toll Free: 1.800.817.1518
International: 1.773.628.2779
Fax: 1.773.272.0920