Support » Fixing WordPress » YouTube video not embedding

  • Hello!
    Recently there was a problem, that I still can’t resolve.
    When I try to post a YouTube video link, instead of displaying the actual video, there is only a link.
    I tried it with Vimeo and Twitter links, but those work normally.
    Here is the example.

    Thank you.

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

    (@macmanx)

    Volunteer Moderator

    Would you please provide the link for the Youtube video that isn’t working?

    Also, is it all YouTube videos, or just one in particular?

    Thread Starter Amic58

    (@amic58)

    No need to send you the particular video, since the problem relates to all YouTube videos.
    Again, Vimeo videos and Twitter links work normally, only YouTube links don’t.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    When you paste the video into the editor, does it paste in as a link (underlined or recolored), or is it still plain text?

    Thread Starter Amic58

    (@amic58)

    When pasting in editor, the link is just plain text. If I choose Media, and Paste from URL address and fill in the link, it pastes into the post as colored link that can be clicked. Still, no video though.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, plain text is what you want.

    This time, paste it into the Text editor tab, make sure there is absolutely no HTML around it (don’t align it or anything else), and save the post.

    Did the embed work?

    Thread Starter Amic58

    (@amic58)

    I put it into the HTML tab and saved it, but nothing changed.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, that should have worked.

    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 Sixteen theme to rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter Amic58

    (@amic58)

    I deactivated all plugins, but that didn’t change anything. I also switched to different theme, but that also didn’t do anything! Wow, I really don’t know what to do..

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, publish a page with only the following content pasted into the text tab:

    words above
    
    
    
    words below

    Do not modify it in any way, paste into the text tab and publish.

    Thread Starter Amic58

    (@amic58)

    Thank you for your suggestion, but that didn’t help either.
    Here is the picture: http://i.imgur.com/ELSuUDP.png

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Would you mind sharing the URL of the site? Possible a link to that test page?

    Also, try this in a second test page, again in the Text tab:

    words above
    
    [embed]https://www.youtube.com/watch?v=LS-VPyLaJFM[/embed]
    
    words below
    Thread Starter Amic58

    (@amic58)

    Here is the link to the site. Actually, if you look to the left side, where there is “Nová videa z Gamers TV” (translates to new videos from Gamers TV), you can see that under it is only a link, not the video.
    And here is the link to the Test2 page, with the latest suggestion. As you can notice, the link is clickable, but the video doesn’t appear on the site.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, yes I see it. 🙁

    Are you running any security plugins, server-side security like mod_security, or security proxies like Cloudflare or Sucuri?

    Thread Starter Amic58

    (@amic58)

    No, I am not. I disabled all plugins one by one, to see if it made any change, but nothing.

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Ok, install and activate https://wordpress.org/plugins/wp-sweep/

    It has an option to clear oEmbed caches. Try that.

Viewing 15 replies - 1 through 15 (of 41 total)
  • The topic ‘YouTube video not embedding’ is closed to new replies.