sampotts / plyr

A simple HTML5, YouTube and Vimeo player
https://plyr.io
MIT License
26.59k stars 2.93k forks source link

Vimeo player mute button doesn't work on mobile phones any more #2624

Open dowixxx opened 1 year ago

dowixxx commented 1 year ago

I can see the same behaviour on https://plyr.io/#vimeo. On desktop everything works fine, but when i checked on a few different phones "mute" button doesn't work any more (it does not mute the video), even at plyr.io homepage.

Please fix this!

HandreMelo commented 1 year ago

I had the same issue here, but only on IOS. I found a solution for that, but i don't know how to apply now to the project. In the file Vimeo.js, at line 268 the player.embed.setVolume has to be changed to setMuted. For some reason, ios doesn't accept this api volume changes .