WordPress.org

Support

Support » How-To and Troubleshooting » Embed youtube video not working

Embed youtube video not working

  • Hi,

    I’m trying to embed a youtube video on my site, but when I save changes it appears only as a URL (scroll right to the bottom of the page to see).

    I went to this WordPress Support page which says you only have to paste in the URL and it should automatically embed, but it isn’t.

    FYI, I’m using a child theme of Superhero, and trying to embed with the PageBuilder plugin (I’ve tried it on a normal page too and the same problem persists).

    I’m sure it’s something simple, but any help will be massively appreciated!

Viewing 15 replies - 1 through 15 (of 30 total)
  • esmi

    @esmi

    Forum Moderator

    Are you sure that you are adding the correct url – ie the url of the video and not the code that YT provides.

    Wow, thanks for the amazingly fast response! This is the link I’m adding:

    esmi

    @esmi

    Forum Moderator

    That’s the wrong url. Try http://youtu.be/vBASpyfyAyA

    Still no joy. Is there supposed to be a dot in the middle of ‘tube’?

    When I load the video in youtube, the url that comes up is the one I initially put. Also the WordPress Support page suggests a similar syntax (ie, including watch?v= and &safe=active

    esmi

    @esmi

    Forum Moderator

    Is there supposed to be a dot in the middle of ‘tube’?

    Yes

    Ok… well it still doesn’t work!

    I’ve tried pasting the url into the Add Media thing (in visual editor), and this works but only gives me the option to have a text hyperlink, and then it will take me to the page.

    I’m trying to use the Responsive Lightbox plugin, which says you need to embed the video into the page and it will automatically make a lightbox pop-up for it.

    Regardless of the plugin, I have read that you’re WordPress is supposed to automatically embed videos when you just add the url.

    Very confused!

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Just to cross it off the list try wrapping the YouTube URL in [embed]...[/embed] like so in the post.

    [embed]http://www.youtube.com/watch?v=vBASpyfyAyA[/embed]

    See if that fixes it.

    Thanks Jan, tried it and no luck unfortunately. At least this time the url isn’t just appearing as plain text. But it’s just blank – no video embedded…

    swagsgalore

    @swagsgaloreaolcom

    Try this approach, this works for me.
    ‘[youtube=http://www.youtube.com/watch?v=cw2zQKKbfPU]’

    Also you can see how I have innovatively added the you to my web site on each item page, how to on helping our customers install the curtains we sell.

    [Link removed]

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    That can only work if you have a plugin that handles the [youtube shortcode.

    Paul try deactivating all of your plugins, switch to the Twenty Fourteen theme and then edit that post with this text.

    [embed]http://www.youtube.com/watch?v=vBASpyfyAyA[/embed]

    I’m hoping that works because then it would point to a plugin or theme conflict.

    I know this thread is a bit old now, but I had the same issue and found a solution that fixed my problem that no one else seems to have mentioned.

    Basically I run my own wordpress server from home. I had a situation where I had a power outage and the wordpress server came back up BEFORE my dhcp server. Now linux is smart, it gave the same IP address, so everything should be working, right?
    Sadly… DNS wasn’t working.

    So, my issue was that if the wordpress server cannot see youtube, then it will not embed the video. Once it has embedded the video once, it will stay embedded, which is why old posts work.
    My guess is that wordpress needs to go to youtube to verify the clip and verify the sizes/settings on the clip in order to embed properly. It does this at the time you save your blog post. If the server cant see youtube, then the embed will always fail, no matter what tags you put around it.

    Fix the servers access to youtube, click “update” on your posts affected, and the embed should start working again. 🙂

    Of course this is easier if you have access to your server… If you’re in a hosting situation, I know some web hosts may not allow their servers direct internet access, or may have changed their policies which would mean embedding breaks. I guess a support call to your hosting provider is your only option in this instance. 🙁

    Of course this is easier if you have access to your server… If you’re in a hosting situation, I know some web hosts may not allow their servers direct internet access, or may have changed their policies which would mean embedding breaks. I guess a support call to your hosting provider is your only option in this instance. 🙁

    This fixed my problem. I have a two wordpress accounts each hosted by two different servers. One server just would not work, and then I tried the other after reading your post and it worked instantly.
    My guess is that most of everyone’s issues are probably server side. Hopefully Paul sees your post and mine.

    I too have this problem of Youtube video not embedding. I’m running WordPress 4 (with Twenty Twelve and using a Child backup). WordPress 4 says its easy, but it isn’t. If I just put in the code as it says, I just see the code on the page. http://youtu.be/kS18RC7KfkA – no embedded video. If I put this url into the Media File…and say post in page, it’s true a Big Black box comes into screen but will not play. This should be so easy. Anyone still about?
    http://www.rosemarycarr.co.uk page The Precious Sea.
    regards, Denise

    Denise, yes I have the exact same problem. Youtube embedding worked fine until couple of weeks ago, and now does nothing. Just shows plain link.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Embed youtube video not working’ is closed to new replies.
Skip to toolbar