WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 3.5.1 Problem With Youtube (10 posts)

  1. ekowp
    Member
    Posted 1 year ago #

    I was trying to add youtube URL into a new post. It works at first, WordPress automatically trasform it, until I add <!--more--> before the video. Now it only displays the URL text.

    I'm using WordPress 3.5.1, Please help.

  2. Have you tried:
    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the 2012 theme to rule out any theme-specific problems?

    - resetting the plugins folder by FTP or phpMyAdmin? Sometimes, an apparently inactive plugin can still cause problems.

    I just tried adding a video and the more tag as you explained using 2012 and no plugin installed and it worked. I tried both visual and text mode.

  3. ekowp
    Member
    Posted 1 year ago #

    I've just tried steps you said: all plugins are inactive, using 2012 theme, and active_plugins in wp_options table shows a:0:{}

    still wordpress won't show the video. I've created a new test post only with the youtube url with no <!--more--> tag. It' doesn't work too.

    is there any way to add video manually to wordpress just for temporary. iframe, embed, shortcode doesn't work too.

  4. Can you provide a link to your site please?
    Maybe there's something we can see in the HTML source code?

  5. ekowp
    Member
    Posted 1 year ago #

    yes please, it's tableron.com

  6. Looking at your site, you have a caching plugin installed and disqus...

    Have you tried embedding another youtube video? Are you using the embed code that Youtube suggests you use?

    You could try deactivation 2012 and trying 2011, but 2012 should work. This doesn't make sense.

  7. ekowp
    Member
    Posted 1 year ago #

    the youtube video I was trying to add is using this URL:
    http://www.youtube.com/watch?v=bt51MWll1oY

    because wp only display the URL, I already deleted the URL in the post. but I'll try again making a new post with video.

  8. If you look at that page, youtube provides you with this url to embed:

    http://youtu.be/bt51MWll1oY

    and then this:
    <iframe width="560" height="315" src="http://www.youtube.com/embed/bt51MWll1oY" frameborder="0" allowfullscreen></iframe>

    You can get to this code, by clicking the share link below the video.

    Perhaps try both of these and make sure you insert it in the text editor and not visual.

  9. ekowp
    Member
    Posted 1 year ago #

    It works now, using iframe code from youtube. The one with shorter URL: http://youtu.be/bt51MWll1oY only displays the text.

    I really appreciate your help. Thank you.

  10. wplegacymu
    Member
    Posted 1 year ago #

    The iframe version works but isn't truly a great work-around. We've had the same issue with an install that doesn't use any caching (all plugins deactivated and WP 2011/2012 but the same conditions occur). We tracked down the moment when WP makes the oembed call and creates the meta post entry for each video on a post but didn't get farther than that.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags