Skip to content

How can give border radius to outer skin of muxPLayer @here #801

Answered by luwes
tauqeer-trailfive asked this question in Q&A
Discussion options

You must be logged in to vote

It's fairly simple. Wrap the mux-player element with a div and add a CSS border-radius: 5px and overflow: hidden rule.

Have a look at this Sandbox https://codesandbox.io/p/sandbox/mux-player-rounded-corners-tlzwwv

It's also done on the Mux docs web player page https://docs.mux.com/guides/mux-player-web

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by luwes
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