Support » Fixing WordPress » YouTube embed fails when video URL has "dash" in it

  • 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?

Viewing 8 replies - 1 through 8 (of 8 total)
  • I would like to know the same answer if you have it

    Can you post the original YouTube video link here?

    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.

    Try this:
    [embed]http://youtu.be/Inl-rsy2EEI[/embed]

    Krishna:
    Thanks. Indeed, the exact URL is in my original post.

    Seacoast:
    I uploaded the video, used according to “fair use” laws, and embedding is not disabled.

    Krishna:
    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.

    To all:
    Thank you for helping!

    Krishna:
    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?

    Seacoast
    Thanks. That is the only way I could think of too, short of rooting around in some strange code that powers the iframe plugin. It is a clunky and undesirable way of solving it, but in the end that is what I did.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘YouTube embed fails when video URL has "dash" in it’ is closed to new replies.