How to hide media control bar initially when video is not played. ? #985
Answered
by
luwes
kevalrathod
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
luwes
Sep 25, 2024
Replies: 1 comment 1 reply
-
not all controls receive all the media attributes. try using media-controller:not([mediahasplayed]) media-control-bar {
display: none;
} inspiration at https://github.com/muxinc/elements/blob/main/packages/mux-player/src/themes/gerwig/gerwig.html |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kevalrathod
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not all controls receive all the media attributes. try using
inspiration at https://github.com/muxinc/elements/blob/main/packages/mux-player/src/themes/gerwig/gerwig.html