Support » Fixing WordPress » YouTube embed not working in 3.1

  • Resolved MovieMemories

    (@moviememories)


    Upgraded today to 3.1 and when adding a YouTube embed code the video does not show.

    Prior to upgrading, I have added 100’s of embed codes to the same blog without a problem.

    Can you help?

Viewing 15 replies - 16 through 30 (of 51 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    WARNING.

    The DATABASE was upgraded in 3.1 so UNLESS you have a backup of your database, the downgrade has a VERY high risk of jacking your site up.

    I wouldn’t do it, and I’m a pretty experienced WP user.

    Please bring back the ability to embed a WMV video from a non video site server! The icon to enable this was unbelievably yanked out of 3.1!!!Many of us do not use the public video hosting sites with their contraints, video quality degradation, embedded advertising and such.

    I’m stunned by this. And stuck with a huge and growing site with videos from my own server… not YouTube, Vimeo, etc.

    When is the video embedding feature going to be fixed in 3.1? I cannot embed a youtube video into my blog since upgrading to 3.1.

    esmi

    (@esmi)

    Forum Moderator

    @esmi…as best as I can tell, that link does not provide any info as to how to embed in 3.1.

    esmi

    (@esmi)

    Forum Moderator

    The method hasn’t changed. It’s still exactly the same in 3.1.

    Well, I tried copying the url into my post and it worked the first time when I previewed it, but didn’t work when I tried previewing it again.

    Before upgrading to 3.1 I always used the youtube embed code and it would work. I tried that, and it didn’t work this time. Based on other comments and question others have posted, apparently there is an issue with embedding youtube videos into 3.1.

    I to am having this issue. Yesterday i saw that WP upgraded the youtube video embedding to only having to post a link is your VISUAL editor…. a link like this one,
    http://locallilly.com/?p=3249&preview=true
    when i previewed my post yesterday it worked fine but today this is now not working.
    i’ve tried using the embed code as it states like this,
    [youtube=http://locallilly.com/?p=3249&preview=true]
    that got me know where… i would REALLY like to get this problem resolved because my site depends highly on video as well and now none of them are working.

    I’m not so worried about the editing of sizes and such but just for the video’s to show up would be nice 🙂
    anyone? anyone? Bueller? hahaa 🙂

    It appears that something in 3.1 is broken as far as the auto-embed goes. As others mentioned, placing a link to a YouTube or Vimeo video in a new line, will initially show the embedded video, but will then stop showing up again.

    Very problematic. I’m anxious to find a solution.

    Thanks,

    Bira

    Just to add another point: the problem appears to be in the oembed caching in the postmeta db table. It stores {{unknown}} as the meta_value.

    I looked in media.php and compared it to previous versions. It appears the only or primary change was adding $post_ID to this:

    return apply_filters( ’embed_oembed_html’, $cache, $url, $attr, $post_ID );
    return apply_filters( ’embed_oembed_html’, $html, $url, $attr, $post_ID );

    Not sure if it’s related in any way, but it is definitely an issue with the postmeta cache value. If I delete the *_oembed_* entry from the wp_postmeta table for a post, then the video shows up again.

    For now, I did a very dirty fix of adding an sql delete query to the top of my single.php file… Far from pretty or ideal… but at least the videos work again.

    I am having a similar problem I can embed the video into a page, but when I embed the video into a post it does not appear. anyone have the same problem or a workaround?

    Ok my problem turned out to be that the theme was only using excerpt in the index and archive php.

    Embed is working fine for me in 3.1

    Cannot embed a video on three sites with different hosts.

    I have tried just pasting in the YouTube URL. I have tried adding a video. I have tried adding [embed] code and [youtube] code. And I have tried adding the embed code from YouTube in the html (both new and old)

    Nothing works.

    It may be a problem with the theme. I have found certain features don’t work in some themes perhaps haven;’t been updated to work with fully with 3.1

    try another theme?

    All videos already embedded have vanished from all my sites. This is outrageous. WordPress need to fix this immediately.

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘YouTube embed not working in 3.1’ is closed to new replies.