Problems embedding Youtube videos in WordPress etc?

I’ve seen a few people ask why embedding Youtube videos seems to have stopped working on their WordPress blog recently, so thought I’d quickly share the reason.

Basically Youtube (And Vimeo), both released a new embed code a while ago, to enable viewing through Flash and HTML5. But when you put that new code into HTML view in WordPress, and then publish or go back to View mode, it disapears.

Fortunately the old version is still available if you click the appropriate box under the Embed options:

Hope that helps…

  • Pingback: Tweets that mention Problems embedding Youtube videos in Wordpress etc? : TheWayoftheWeb -- Topsy.com

  • http://www.thespeakerpoint.com Alex Cequea

    I was racking my brain trying to figure out what was happening or what I was doing wrong. Thanks so much, I very much appreciate it :-)

  • Anonymous

    for some reason it’s still not working for me.  Could it be a problem with my theme?

  • http://www.thewayoftheweb.net Dan Thornton

    Could be – it appears the new embed now works in the latest version of WordPress, although older themes may fail to pick it up if you have a dedicated ‘videos’ section, for example…
    Try turning off your theme and see what happens…