/ Embed me this

Trying to properly embed a Windows Media Player object using the <embed> tag inside an <object> tag has got to be one of the most frustrating experiences of my web development life! Microsoft’s MSDN does a fine job of listing all of the possible parameters you can pass the <object> via <param /> tags, but try and find the attributes for the <embed> tag! Nothing, nada, zip, zilch! Good luck! For obvious reasons Microsoft doesn’t list them (since the object tag is what you’re supposed to be using and the embed tag is used by their competitor Mozilla). And Mozilla doesn’t have an official set of parameters because Windows Media Player is a Microsoft product!

Well kick me in the head and call me happy! What the heck’s a guy supposed to do? I’ve “viewed source” on dozens of sites only to come up with twice as many variations of potential attributes. It seems there was an original embed tag or two written back in 1996 and ever since then web developers have been mixing and matching and inventing attributes as they go along. Half the stuff on most sites don’t even make sense, let alone do anything!

I’m begging, please. If you know of a site somewhere that has an official set of attributes to pass the embed object of type="application/x-mplayer2", then please, please, please let me know. Oh and by the way, Microsoft themselves point you to the Netscape website for the embed reference and the link is broken!

P.S.: I know that the industry standard is to stream video using Flash and I know that A List Apart has an article on how to do away with the embed tag altogether, but client constraints and the fact that the ALA method is sketchy at best keep me from going that route.


Read more from the archive.