Can you send me an example link? I haven’t seen any cases where that piece of code adds any black bars. Are you sure that your dimensions are set properly? The plugin uses the height/width set in the shortcode to determine the video aspect ration, so if they are set wrong it would cause the black bars to appear.
Thread Starter
Dirk S
(@thedsp)
Thread Starter
Dirk S
(@thedsp)
It might also be the style="padding-bottom:56.25%;"
in the video Wrapper. If I lower it, the black bars get smaller…
Hi, sorry I haven’t had time to look at your exact demo. In most cases the IE fix doesn’t seem to hurt other browsers. The padding-bottom:56.25%
is the main piece of css used to set the ratio for the video. It is calculated for each video using the dimensions you supply (height/width). In your case it looks like 56.25% is the correct ratio. Probably for now your best bet is to remove the padding-top from the CSS file and I will do some more testing and try to fix this for the next version.
Thread Starter
Dirk S
(@thedsp)
Its something else: the 30 px seems to be related to class=”vjs-poster”
Out of an original preview picture of 640×360 it streches it to 640×390…
That will probably stay the size for the video wrapper, adding a black bar of 15px above and below.