Responsive mode wrong padding/black bars/aspect ratio
-
Great plugin, thank you!
Implementing this plugin to responsively embed a youtube video on a 2 column page. The responsiveness seems to work however there are black bars on the top and bottom, indicating an aspect ratio/height issue.
I noticed in the responsive code on the front end uses this:
<div class="fluid-width-video-wrapper" style="padding-top: 50% !important;"></div>What I noticed after looking into this further is for 16:9 the padding-top needs to use
padding-top: 56.2% !importantIn my testing this works perfectly, however I can’t override the inline style from the plugin default to accomplish this.
1. Is there an element to the responsive setup I’m missing to always have the appropriate ratio size?
2. Any way I can simply override the default inline css for this?
Thanks for any insight you can provide, cheers!
The page I need help with: [log in to see the link]
The topic ‘Responsive mode wrong padding/black bars/aspect ratio’ is closed to new replies.