I want to use React Player and I do not need the volume, but I can not remove the volume button.
Asked
Active
Viewed 1,270 times
2 Answers
0
There is a prop muted
explained

ValenciaHQ
- 381
- 1
- 13
-
I want to remove the button, not to mute the video – shoshan Feb 14 '22 at 16:47
-
my bad, you can try with controls props, or targeting controls element with pointer-events: none; – ValenciaHQ Feb 14 '22 at 16:55
0
Just add the controls={false} or remove this prop.
eg-
<ReactPlayer
url='url'
loop={true}
playing={true}
playsInline
light={false}
width='100%'
height='100%'
controls={false}
/>

Irtaza Hussain
- 39
- 3