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

Force embedded player to render within container #5611

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Conversation

masaball
Copy link
Contributor

VideoJS fluid mode forces the player to a specific aspect ratio. When the container that the player is embedded in does not match that aspect ratio it generates scroll bars for the content. Turning off fluid mode keeps the video within the container, letter/pillarboxing as necessary.

This PR also turns off responsive mode, as in testing it did not seem to have any affect on the rendering.

Copy link
Contributor

@Dananji Dananji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@masaball masaball merged commit e49b20d into develop Jan 31, 2024
2 checks passed
@masaball masaball deleted the embed_sizing branch January 31, 2024 15:37
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.

2 participants