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

Fix: Center video element and maintain its size and ratio #995

Merged
merged 1 commit into from
May 2, 2019

Conversation

jstoffan
Copy link
Collaborator

@jstoffan jstoffan commented May 2, 2019

The previous change caused videos to render at their natural height, even in fullscreen, rather than allowing them to expand. This change will center the video element without affecting its displayed size or ability to expand while still limiting it and its controls to a minimum width of 300 pixels.

@boxcla
Copy link

boxcla commented May 2, 2019

Verified that @jstoffan has signed the CLA. Thanks for the pull request!

@jstoffan jstoffan merged commit dd7a6ec into box:master May 2, 2019
@jstoffan jstoffan deleted the fix-media-overflow-2 branch May 2, 2019 17:21
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

Successfully merging this pull request may close these issues.

3 participants