Quick Fix For Embedding Videos on Picky Templates
Posted by Stephen on
May 4, 2007
A little while ago, I had major issues trying to embed any YouTube videos into my blog. Thus, I tried alternate video sources like MySpace and Google Video. Whenever I posted a YouTube video, the page would lock solid and give Internet Explorer users an error message. Not surprisingly, the mighty FireFox had no issues. So how do you ensure that your blog template plays nice with IE and YouTube? Here’s what you do…
A typical piece of YouTube embedding code looks like this:
<object width=”425″ height=”350″><param name=”movie” value=”http://www.youtube.com/v/Cld8DTKeLYE”></param><param name=”wmode” value=”transparent”></param><embed src=”http://www.youtube.com/v/Cld8DTKeLYE” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”350″></embed></object>
Unfortunately, Internet Explorer doesn’t like all this crap. To make it a lot more compatible, you strip it down to this:
<embed src=”http://www.youtube.com/v/Cld8DTKeLYE” type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”350″></embed>
That’s it! Just strip it down to the <embed></embed> tags, and you’re good to go. Hope this bit of info helps you out with a difficult, non-video friendly template that you’re using. This might actually work with other incompatible video services, but I’ve only tried it with YouTube. Let me know if it works out for you.
Now enjoy the demo of me almost losing it at the CodeZero Driving Course taken by Leo…






Crazy Driver!
Thank’s for posting the fix for embedding videos. IE sucks, why can’t MS ever follow a standard that everyone else seems to accept? WWW Consortium is there for a reason.. USE IT MS!!
Or, they accept a standard – but edit it so it’s completely stupid and unusable…
MS is kind of like Bush. They do what they want. They are in complete disregard of others. Like not listening to the UN….
Leo needs to use a camera that has better zoom!
I just took it off my little digital camera, not a proper camcorder, so it has no zoom for video.
I just use this plugin. Then all you have to do is take the Youtube link, and surround it with tags. Also works with all the other video sharing sites like Google, etc. There’s even a button that gets installed in your editor, so you just click the button, and paste the URL. Works in every browser, and is very easy to use
Carl, the Viper video plugin doesn’t fix the ie-youtube glitch with the theme Binary Blue
I was just going to mention Viper’s Video Quicktags! Version 5.0 has support for Flash videos too!
Yeah, that was one of MANY things I’ve tried. It doesn’t work for the most picky of templates.
It’s all Greek to me :/
Speaking of plugins, what plugin adds the XHTML tags for comments?