Hi, I have a problem with videos from vimeo in iOS devices.
I'm trying to change a muted state on or off in a custom control and pass it through props in the ReactPlayer while the video is playing, but it doesn't seems to work only for iOS devices and vimeo videos. Videos from YouTube or other sources work nicely in iOS and different devices without iOS and with vimeo videos work correctly.
I can replicate this in the demos you provide, setting the Muted checkbox on or off while the vimeo video is playing in a iOS device doesn't have any effect on the sound.
Hi! I have same problem!
Please help!
Same problem :(
Can someone help please????
Sorry guys. The Vimeo player API does not have a method for muting/unmuting a player, and so ReactPlayer uses setVolume as a fallback. The problem with this is:
Most mobile devices (including iOS and Android) do not support setting the volume because the volume is controlled at the system level. An error will not be triggered in that situation.
https://github.com/vimeo/player.js#setvolumevolume-number-promisenumber-rangeerrorerror
There is an issue for this here: https://github.com/vimeo/player.js/issues/236 – not much more we can do I'm afraid.
Is this a joke? You can set volume with html5 video and with youtube player no problem. How its possible that vimeo player has such bugs in the code?
Most helpful comment
Sorry guys. The Vimeo player API does not have a method for muting/unmuting a player, and so ReactPlayer uses
setVolumeas a fallback. The problem with this is:https://github.com/vimeo/player.js#setvolumevolume-number-promisenumber-rangeerrorerror
There is an issue for this here: https://github.com/vimeo/player.js/issues/236 – not much more we can do I'm afraid.