youtube

Proper way to embed flash content into your site

One of the things i dislike about YouTube is the Flash embed snippet they offer. It's just not valid xHTML and brings many errors. Actually, two things i dislike, the other is poor video quality compare to other sites like Revver or blip.tv but that's not what i want to discuss about.

Anyway, the proper way to embed Flash content is by simply using:

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/igWvNUl4S6M&hl=en&fs=1&" width="288" height="128"> <param name="movie" value="http://www.youtube.com/v/igWvNUl4S6M&hl=en&fs=1&" /> <img src="banner.gif" width="288" height="128" alt="banner" /> </object>
Subscribe to RSS - youtube