YouTube video invisible after publication
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.
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.
Hi – Here’s the video command:
You’ll have to specify both width and height. You only have the width one:
Or drop the resize…
Update: that URL is not a video. It’s a YouTube channel. That’s why.
This should work for you (although I’m just guessing about the height, h might be smaller):
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.
Clarification, this only works for a single video, not playlists or a channel.
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.
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:
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.
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??
Okay, that’s what I was afraid of.
Thanks for your quick response.
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!
ah okies!! that would be cool.. thanx!!
“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.
@panaghiotisadam Thanks for this information. I’ll have to study it and try to figure this out.
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
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.