Skip to content
Discussion options

You must be logged in to vote

Thanks for the report and the screenshots. You're right: the compat skin was forcing 16:9 on the container inside its shadow root, so an aspect-ratio on <video-compat-skin> only changed the outer element.

This is fixed in v10.3.0 by #9692 (tracked in #9691). After you upgrade, the aspect-ratio you set on the skin element controls the player's shape in every skin. The video and poster fill the player and stay centered, even if your page uses a CSS reset like Tailwind's video { height: auto }.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@zangab
Comment options

Comment options

You must be logged in to vote
2 replies
@sampotts
Comment options

@zangab
Comment options

Answer selected by sampotts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants