You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However. The padding-top: 25px alters the result of padding-bottom: 56.25%;. This causes black bars to appear above and below the video, at least for Vimeo on firefox.
Overriding the padding-top: 25px with padding-top: 0px fixes these black bars. I suggest you remove this padding-top: 25px rule and leave any paddings to the user.
The text was updated successfully, but these errors were encountered:
AmazingDreams
changed the title
16 by 9 ruined by padding-top
Black bars appearing above and below video
Oct 24, 2017
You appear to want to apply automatic 16 by 9 scaling to the wrapper:
However. The
padding-top: 25px
alters the result ofpadding-bottom: 56.25%;
. This causes black bars to appear above and below the video, at least for Vimeo on firefox.Overriding the
padding-top: 25px
withpadding-top: 0px
fixes these black bars. I suggest you remove thispadding-top: 25px
rule and leave any paddings to the user.The text was updated successfully, but these errors were encountered: