Posting YouTube Videos to WordPress Blogs
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>
Comments (2)
[…] 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 […]
[…] 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 […]