Using a plugin so I can use iframes. Standard iframe for embedding a YouTube video:
[iframe width=”640″ height=”360″ src=”http://www.youtube.com/watch?v=Inl-rsy2EEI?feature=player_embedded&rel=0″ frameborder=”0″ allowfullscreen]
Notice the video file name has dash (hyphen) in it.
That video is the only one that won’t display. All others that don’t have a dash in the file name do just fine.
Anyone have any idea why? How to fix?
I would like to know the same answer if you have it
it’s in the url above : http://www.youtube.com/watch?v=Inl-rsy2EEI
my thought is that they are a news content provider with Google/Youtube and embedding is disabled.
@seacoast Web Design,
The embed is not disabled. I think the link just does not work.
Thanks. Indeed, the exact URL is in my original post.
I uploaded the video, used according to “fair use” laws, and embedding is not disabled.
The normal “embed” method works. Is there a way to control the size of the resulting output that way? I think the whole reason I switched to the “iframe” method was the size was different on every video and some were too large for the page.
Thank you for helping!
I found another reason why I need to use the iframe method. The “rel=0” part of the query string seems to stop the embed method from working. I need that part to stop unwanted videos that are somehow deemed as “related” from showing up after the video.
Remove the video, re-upload, should get a new url?
- The topic ‘YouTube embed fails when video URL has "dash" in it’ is closed to new replies.