Posting YouTube Videos to WordPress Blogs

by Keiron on January 16, 2007

Because of the way wordpress corrects invalid XHTML this is the best way to post YouTube videos…..

YouTube suggests:


<object height="350" width="425">
<param name="movie" value="http://www.youtube.com/v/rCOx24TsBPI"></param>
<param name="wmode" value="transparent"></param></object> <object height="350" width="425">
<param value="http://www.youtube.com/v/rCOx24TsBPI" name="movie"></param>
<param value="transparent" name="wmode"></param></object>

Convert this to:


<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/rCOx24TsBPI" height="350" width="425">
<param name="movie" value="http://www.youtube.com/v/rCOx24TsBPI"></param> </object>

{ 2 comments… read them below or add one }

1 Leicester Paternoster — Keiron’s Window to Madness 07.05.07 at 6:14 pm

[...] just updated this broken post on Posting YouTube Videos to WordPress, to allow me to post this video of the University of Leicester’s Paternoster lift – many a [...]

2 Posting YouTube Videos (Again!) | Skillett.com 02.14.09 at 11:32 am

[...] may remember many moons ago, I posted about what a bind it could be to put YouTube videos into WordPress Blogs (because WordPress got all excitable and corrected the [...]

Wall Plugs!