• Resolved Belindala

    (@belindala)


    Hi everyone. I’m having trouble with both iframe html tags or shortcode. Nothing appears!
    This is my code:
    [iframe src="https://www.youtube.com/watch?feature=player_detailpage&v=_M_-2jvUuog" height="300" width="520" allowfullscreen="" frameborder="0"] in visual editor area;
    and surrounded by <div id=”video-wrap”></div> in text editor area.
    But there is no video appearing in the post!

    Could someone help? THX!!!

    https://www.ads-software.com/plugins/iframe/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webvitaly

    (@webvitaly)

    You are using direct YouTube link.
    You should use embed YouTube URL for Iframe like this:
    [iframe width=”420″ height=”315″ src=”https://www.youtube.com/embed/_M_-2jvUuog”%5D

    If you want to use direct YouTube link – you can use [embed] shortcode like this:

    [embed width="420" height="315"]https://www.youtube.com/watch?v=_M_-2jvUuog[/embed]

    [embed] shortcode is core WordPress feature and does not require any other plugin.

    P.S. [embed] will not work with your YouTube video because it is unlisted. But it will work with all other public videos.

    Go to Your Youtube Video Under share tab Locate Embed Copy the Code paste It in Your post Html.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘URGENT iframe not working!’ is closed to new replies.