• Resolved Ben Cathro

    (@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):

    http://www.sickskills.co.uk/extras/videos

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

    <a href=”//www.youtube.com/embed/QjcnuZOYR68?rel=0?iframe=true&width=640&height=360
    “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?

    http://wordpress.org/extend/plugins/wp-video-lightbox/

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.