So, here’s the code for either one:
<object type="application/x-shockwave-flash" data="[INSERT VIDEO URL FROM EMBED CODE PROVIDED HERE]" width="400" height="326"><param name="movie" value="[INSERT VIDEO URL FROM EMBED CODE PROVIDED HERE]" /><param name="FlashVars" value="playerMode=embedded" /></object>
Took a while to figure out, but it works. I originally tried the code mentioned in this article, but it kept breaking my site, so I trimmed it all down to the bare essentials. This works for me and my template. Let me know if it does / doesn’t work for yours in the comments. w00t!
UPDATE: Great post from Ryan over at Hapless band of staff and regulars, where he tweaks my code slightly to avoid YouTube upscaling of the video. Check it out.
Related posts:


{ 28 trackbacks }
{ 91 comments… read them below or add one }
← Previous Comments
hey, great work, thanks
Thanks for the quick fix.
thanks for fix
thanks, great work
thanks alot
merhaba ho? geldiniz te?ekkürler
thanks
Thanks so much.
Thanks a lot.
thx alot
Thanks for that. Your method validates in XHTML 1.1 and that’s the one I needed.
OMFG! Thankyou SO much!
will google adsense ban me if i paste youtube videos in my site?
Thomas,
No. YouTube is owned by Google, so it’s all good.
Your web site is really nice if we think the others
I think you had worked about that web site, hardly.
Like I see. Thank you for information tht i get.
Yes Thats is a good idea
ty
No. YouTube is owned by Google, so it’s all good.
Another awesome way to embed video is to use VideoSwiper a web 2.0 online application that can mass populate your websites and wordpress blogs with niche targeted video content. The application also allows you to edit the embed codes title, description and tags before posting it to your website to keep the content unique.
http://www.videoswiper.com
This worked great! Thanks so much! IE can be such a pain sometimes!
For some reason I have the hardest time ever when dealing with this type of code. Still learning though!
Thanks for the article
Thank you
sohbet
Another awesome way to embed video is to use VideoSwiper a web 2.0 online application that can mass populate your websites and wordpress blogs with niche targeted video content. The application also allows you to edit the embed codes title, description and tags before posting it to your website to keep the content unique.
I had the same problem but that did the work! great.
Thanks a lot I’ve been trying to get this to work on an script it was able to remove all errors except one.
Duplicate specification of attribute “class”.
…alue=”" size=”22″ tabindex=”1″ class=”styled” />
You have specified an attribute more than once. Example: Using the “height” attribute twice on the same “img” tag.
← Previous Comments