We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

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>

This entry was posted on Tuesday, January 16th, 2007 at 9:36 pm and is filed under General. You can follow any responses to this entry through the RSS 2.0 feed.


Comments (2)

 

  1. […] 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. […] 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 […]