YouTube video invisible after publication

  • Author
    Posts
  • #616689

    ontheliner
    Member

    Inserted a video into a post using the usual button – the command is visible in HTML mode but nothing is visible online after publishing. Have re-entered the URL several times with no success. It’s the penultimate object in this post http://wp.me/pE8aS-1os – showing as a line of white space

    The blog I need help with is shapersofthe80s.com.

    #616836

    The sourcecode of your page says “YouTube Error: bad URL entered” at that point.

    Please copy the video command from your HTML editor and paste it here between backticks so we can see what’s wrong.

    #616959

    ontheliner
    Member

    Hi – Here’s the video command:

    [youtube=http://www.youtube.com/peterhookandthelight&w=490]

    #616960

    You’ll have to specify both width and height. You only have the width one:

    https://en.forums.wordpress.com/topic/youtube-video-resize?replies=5

    Or drop the resize…

    #616961

    Update: that URL is not a video. It’s a YouTube channel. That’s why.

    #616962

    disembedded
    Member

    This should work for you (although I’m just guessing about the height, h might be smaller):

    [youtube=http://www.youtube.com/watch?v=zEFEOnXKWuc&w=490&h=400]

    #616963

    justjennifer
    Moderator

    If you have auto-embed enabled in your Media Settings, you should be able to just drop the URL from the address bar (not the embed URL) of the YouTube video you want to display in your blog into your Post or Page, making sure it is not highlighted as a link. If it is, use the “Unlink” button.

    #616964

    justjennifer
    Moderator

    Clarification, this only works for a single video, not playlists or a channel.

    #616966

    @justjennifer: Right.

    @disembedded: That’s the right URL. Original dimensions are 560×349, so w=490 needs h=305.

    @disembedded & universalgeni: But you don’t need to add the height. The easy way to resize the video is specify the width only, as ontheliner originally did.

    #616967

    ontheliner
    Member

    Thanks everybody – instant service! Thanks especially to universalgeni for spotting my own blunder – the link I published was indeed to a YT channel, not a video. Now the right URL is in place, all works normally – and you need only specify the resize width for YT vids.

    As an additional point of interest, have you noticed how YouTube has introduced shortlinks to a specific video in the “Share” button beneath their screen. These however don’t work in WordPress, only the original URL visible in the location bar, as justjennifer notes.

    Thanks, all.

    #617013

    disembedded
    Member

    Okay, now I have a question here. If a YouTube video is in two or three parts, is there a WP coding for that, so that the parts will play consecutively? For example, this is the first segment of a two segment PBS program on YouTube:

    [youtube=http://www.youtube.com/watch?v=6JQFM16B_sA]

    #617014

    macmanx
    Staff

    Unfortunately, no. :(

    We can’t support anything that YouTube’s player doesn’t support, and sequential playing isn’t something that they support. You’ll have to go with old-school multiple embeds.

    #617015

    minerva09
    Member

    Afcourse it can be made possible by intensive coding i,e, giving user the feel that only all videos are played one by one and letting the server feel that all urls are multiple embeds… But again this cannot be done in WordPress.com as too much specially server playing coding is not allowed…

    You may be able to do this in wordpress.org but again hard core programming would be required…

    @macmanx: youtube has released short urls starting from http://youtu.be which are not supported in this emded youtube code of wordpress… this only allows traditional youtube urls// would something be done for that??

    #617016

    disembedded
    Member

    Hi macmanx,

    Okay, that’s what I was afraid of.

    Thanks for your quick response.

    #617017

    macmanx
    Staff

    minerva09, they’ve had the short URLs for quite a while, but they seem to be pushing them a bit more now. We’re looking into rolling that into the embed code. For now, the full URL can still be copied from your browser’s address bar.

    disembedded, you’re welcome!

    #617018

    minerva09
    Member

    ah okies!! that would be cool.. thanx!!

    #617020

    “sequential playing isn’t something that they support”.
    Sorry macmanx, that’s wrong.

    If you have signed up with Youtube, you can create a playlist with the videos you want in sequence, copy the embed code for that playlist, isolate this part:
    <embed src="etc etc etc"></embed>
    turn it to this:
    [gigya src="etc etc etc" ]
    and paste it into the HTML post or page editor. Dimensions can be changed.

    #617021

    disembedded
    Member

    @panaghiotisadam Thanks for this information. I’ll have to study it and try to figure this out.

    #617022

    minerva09
    Member

    Well WordPress dont support Youtube Playlist directly… Its like wordpress support gigya plugin which supports youtube playlist…

    If anybody wants to add a playlist I have given a detail support document with screenshots at

    http://onedamnlife.wordpress.com/2011/05/27/creating-sharing-and-publishing-a-youtube-playlist-in-wordpress-com-blog/

    Enjoy Blogging

    Utsav

    #617023

    disembedded
    Member

    Hi minerva09,

    Great! Thanks so much for the tutorial on how to do this!

    Best wishes to you.

The topic ‘YouTube video invisible after publication’ is closed to new replies.