Safari video is not bottom aligned with controls
luwes opened this issue · comments
only happens with custom video elements https://github.com/muxinc/custom-media-element
setting height: fit-content
on the custom media element instead of the one of 100% set by the media container seems to be a workaround for Safari.
6708aca
Not sure if it should be added in media-container because it looks like a Safari bug related to aspect-ratio and custom elements
it's not specific to custom elements it seems.
max-width and aspect-ratio on a container and width = height = 100% on child
https://codesandbox.io/s/safari-aspect-ratio-height-bug-l363g6?file=/index.html
Bug was already reported https://bugs.webkit.org/show_bug.cgi?id=261556