You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you expose a few CSS variables so that styling the captions could be possible? Specifically one that would allow us to reposition the captions further up from the bottom (line-height seems to be a working candidate here out of the limited available properties).
Thanks
The text was updated successfully, but these errors were encountered:
endymion1818
changed the title
Possible to style captions with CSS ::cue selector?
Possible to expose variables to style captions
Nov 12, 2024
Hi, I've noticed that the player chrome covers the captions in your examples.
https://www.media-chrome.org/docs/en/examples/captions-menu
I've tried to change the position using the HTML
::cue
selector on the mux-video element but I have so far been unable to do that.https://developer.mozilla.org/en-US/docs/Web/CSS/::cue
Could you expose a few CSS variables so that styling the captions could be possible? Specifically one that would allow us to reposition the captions further up from the bottom (
line-height
seems to be a working candidate here out of the limited available properties).Thanks
The text was updated successfully, but these errors were encountered: