You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to play a video without any sound, here is my code: <YoutubePlayer ref={ref} onReady={onReady} height={(width * 9) / 16} width={width} play={isPlaying} videoId={item.id} webViewStyle={{ opacity: 0.99, borderRadius: 20, overflow: 'hidden', }} mute={true} volume={0} playbackRate={playBackRate} initialPlayerParams={{ controls: 0, // Hides the controls modestbranding: 1, }} />
Neither mute or volume seem to work on iOs or Nadroid. Tried with several versions (downgraded to 2.2.2 currently).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I'm trying to play a video without any sound, here is my code:
<YoutubePlayer ref={ref} onReady={onReady} height={(width * 9) / 16} width={width} play={isPlaying} videoId={item.id} webViewStyle={{ opacity: 0.99, borderRadius: 20, overflow: 'hidden', }} mute={true} volume={0} playbackRate={playBackRate} initialPlayerParams={{ controls: 0, // Hides the controls modestbranding: 1, }} />Neither mute or volume seem to work on iOs or Nadroid. Tried with several versions (downgraded to 2.2.2 currently).
Any thought? Any workaround?
Thanks a lot,
Beta Was this translation helpful? Give feedback.
All reactions