WordPress.org

Forums

iframe
[resolved] iframe shows default Youtube video (2 posts)

  1. mike1mus
    Member
    Posted 3 years ago #

    Not sure what I am doing wrong. I have posted this shortcode into a posting:

    [iframe width="100%" src="http://www.youtube.com/watch?v=wr36FqsdzBk"]

    And yet it displays this Youtube video:

    http://www.youtube.com/watch?feature=player_embedded&v=A3PDXmYoF5U

    On other posts, I have posted this shortcode:

    [iframe width="640" src="http://player.vimeo.com/video/62496297"]

    And it displays the proper Vimeo video.

    Any suggestions for what I am doing wrong with the YouTube video?

    http://wordpress.org/extend/plugins/iframe/

  2. webvitalii
    Member
    Plugin Author

    Posted 3 years ago #

    You should use embed URL for src param.
    Try to use this shortcode:
    [iframe width="100%" src="http://www.youtube.com/embed/wr36FqsdzBk"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • iframe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.