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>

{ 1 comment… read it 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 [...]