[Mux React Player (next-video)] Hide specific controls in the react player #1061
Unanswered
Hiddenberg
asked this question in
Q&A
Replies: 1 comment
-
which version of next-video are you using? v2 and up don't use Mux player anymore. try using the CSS vars |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all thanks for this tool, it's been a great experience to work with Mux
I'm trying to customize the react player (imported from next-video) to simulate a live stream with an on-demand video but I can't manage to only hide the video progress bar
I know I can hide all the controls for the player with the property controls={false} but I only want to the video time-range bar to prevent the user from moving froward or backwards through the video while still allowing them to change the volume, pause the video, go full screen, etc.
I've tried using css styles in my component as mentioned in the documentation here but the controls are still showing
https://www.mux.com/docs/guides/player-customize-look-and-feel#style-with-css
Can you please help me to know if this is possible or if I'm doing something wrong?
Here is my code
Beta Was this translation helpful? Give feedback.
All reactions