• Resolved Dorus

    (@drus2000)


    Hi,

    Love this plugin. But I have some problems with margin above (and maybe under) iframe elements in the slider. I have pictures and a vimeo video embed in an iframe element of the same size. But the video ends up much lower then the images.

    Could this be a problem with the theme twentynineteen? If so can I add some CSS to fix this?

    Any help would be very welcome.

    • This topic was modified 6 years, 1 month ago by Dorus.

    The page I need help with: [log in to see the link]

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

    (@simonpedge)

    Well for your “iframe” code you have:
    <iframe src="https://player.vimeo.com/video/192762016?title=0&byline=0&portrait=0" width="600" height="338" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

    Change the ‘height‘ attribute of the above iframe code.

    Thread Starter Dorus

    (@drus2000)

    Thank you very much for the quick reply!

    It did not fix my problem. Changing the height strangely did not effect the height of the video iframe itself but did effect the height of the iframe in the slider as you suggested. So it kind of worked as you said. But on other screens or smaller windows it got all wrong again.

    This got me thinking that I needed a responsive size, and vimeo provides the responsive embedding code with its sharing options. So my problem is fixed now!

    Have a good day

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘iframe video or margin spacing’ is closed to new replies.