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

Height cut-off #2

Open
tracend opened this issue Apr 7, 2016 · 0 comments
Open

Height cut-off #2

tracend opened this issue Apr 7, 2016 · 0 comments

Comments

@tracend
Copy link
Member

tracend commented Apr 7, 2016

On portrait mode the video stretches to the edges of the width (as it is set to 100%); if the aspect ratio is bigger than than that of the screen then there appears to be letterboxing.

This can be solved if the video has width: auto As a side-effect of that the video might become bigger than 100%, so the container needs these styles to avoig horizontal scrolling:

width: 100%;
overflow-x: hidden;

Consider adding them these dynamically, possibly behind an option flag.

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