Support » Plugin: WP Video Lightbox » Iframe video embed gets squished vertically

  • Resolved Ben Cathro


    I’m attempting to use WP lightbox plugin to display videos on my site here (it’s the devils staircase text at the bottom of the page):

    I’m using the Iframe method and my code looks like this:

    <a href=”//
    “rel=”wp-video-lightbox[iframes]”>Devils Staircase

    When the link is clicked the lightbox pops up in perfect dimensions but the video is squished into the top 1/4 of the box .

    No idea what is causing it, been hunting through the plugin code to try and find what’s overriding it to no avail. It happens to youtube videos using the iframe as well.

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • C_Guy


    I would appreciate some insight on this as I am having the exact same problem.

    I’ve tried playing with the width and height dimensions. The video will stretch or shrink to any width but the height is always somewhere around 300 px even though I am specifying 480.

    The lightbox behind the video will conform to whatever width and height I set in the shortcode but the video won’t match it.

    Thank you 🙂



    Just a followup for anyone reading this thread. I solved the problem. Turns out my theme had a CSS declaration that forced the video to maintain a specific height which overruled any height settings I was putting in the shortcode.

    Removing that declaration from the theme’s CSS worked and now this awesome plugin works just like it’s supposed to.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Iframe video embed gets squished vertically’ is closed to new replies.