• Resolved Neodaemmerung

    (@neodaemmerung)


    I just update to wordpress 4.4 and i can not longer embed youtube videos.
    I tried with other source like soundcloud, vimeo, and they show up after paste the link, but youtube videos just doesn’t D =

    I wrap it inside embed tag but same result: http://i.imgur.com/Sx8E2E3.png

    Anyone with the same problem? Any solution?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, very strange, nothing was really changed with embeds.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Neodaemmerung

    (@neodaemmerung)

    Yes very strange, i manage various blogs on wordpress and only one have this problem after the update.

    I already tried deactivating all plugins and same thing.

    I will try changing the theme. Also I had read that could be a server problem and youtube links but im investigating.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It could be, but much easier to rule-out the theme first. Just switch to Twenty Fifteen, see if you have the same problem, then switch back. 1 minute max. 🙂

    Thread Starter Neodaemmerung

    (@neodaemmerung)

    Changing the theme works, but changing back to my theme still doesn’t work… so is the theme D =

    But i realize that embedding the video with width and height it works, without it doesn’t. My solution for now.

    Thanks for your answers.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    What is the name of the theme you’re using?

    Thread Starter Neodaemmerung

    (@neodaemmerung)

    Alright, i have this code on my theme to made the embed responsiveness

    function alx_embed_html( $html ) {
        return '<div class="video-container">' . $html . '</div>';
    }
    
    add_filter( 'embed_oembed_html', 'alx_embed_html', 10, 3 );
    add_filter( 'video_embed_html', 'alx_embed_html' ); // Jetpack
    ?>

    I thought it was that, so i deleted and the responsiveness stop working, i added back and problem solved! D =
    I paste the youtube link and show up right away as should it be = D

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Perfect, thanks for sharing that!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Youtube embed video stop working’ is closed to new replies.