YouTube Pushes Bad Code

Zeigen asks why YouTube offers up video embedding code based on the long-deprecated (actually non-existent) EMBED tag rather than OBJECT. You can hack the provided code to be standards compliant, but why are they doing this?

Ostensibly, the embed tag is used to make older browsers happy – browsers so old they don’t understand OBJECT. But at this point we’re talking about a very tiny slice of the market. Of course you can always “embed” EMBED inside of OBJECT for max compatibility. But it’s time for YouTube to get with the program and sacrifice a tiny percentage of older browsers for simple compliance.

Music: Marc Ribot :: Truth Is Marching In

One Reply to “YouTube Pushes Bad Code”

  1. The whole youtube-site is bad coded. Currently too much bad ajax-coding r in work. With bad i mean, they didn’t work as the should. You can fake rating at all! ;)

Leave a Reply

Your email address will not be published. Required fields are marked *