-1

I want to use React Player and I do not need the volume, but I can not remove the volume button.

shoshan
  • 1
  • 2

2 Answers2

0

There is a prop muted explained

https://github.com/CookPete/react-player

ValenciaHQ
  • 381
  • 1
  • 13
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}
       />