Valid XHTML: YouTube

In order to keep the XHTML monster happy and ensure my blog is compliant with the standards, I had to remove the standard embedding of a YouTube video and replace it with compliant code. Rather than enclosing it each time, I searched for a plugin and am now using WP YouTube 2. Once installed and activated, simply make a profile with a number of options, such as colours and borders. Then, selecting “Valid XHTML”, save the profile.

Profiles are then called by [profilename]video_string[/profilename] in the code view where the string is found from the URL, such as http://uk.youtube.com/watch?v=f_3Utmj4RPU - the string is f_3Utmj4RPU.

I have tried to automatically send my videos to the right, but that was generating an extra <p> and </p> somewhere along the line, so I’m back to doing them manually for now…

I suppose I should take this opportunity to mention my first Swedish visitor and the creator of this plugin, Jens - found at http://www.jenst.se/

  1. gumbald:

    I am testing a comment with a Gravatar!

  2. Ron:

    I am alternative.

  3. Ron:

    I’m a little bit special.

  4. gumbald:

    .coom?

Leave a comment