Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black bars appearing above and below video #7

Open
AmazingDreams opened this issue Oct 24, 2017 · 0 comments
Open

Black bars appearing above and below video #7

AmazingDreams opened this issue Oct 24, 2017 · 0 comments

Comments

@AmazingDreams
Copy link

AmazingDreams commented Oct 24, 2017

You appear to want to apply automatic 16 by 9 scaling to the wrapper:

.blue-media-embed-component .wrapper {
  top: 0;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

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.

@AmazingDreams AmazingDreams changed the title 16 by 9 ruined by padding-top Black bars appearing above and below video Oct 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant