Closed kinaz closed 2 years ago
Hi there,
the toggleMute() method is not present nor documented in the current version of Vimeo API: https://github.com/vimeo/player.js
I was getting an error on mobile devices, so I tried and replace toggleMute() with the correct method: setMuted(boolean)
The error is gone and the video plays on mobile as well.
Please see that I modified the src file only; I'll let you deal with the build process.
Hi there,
the toggleMute() method is not present nor documented in the current version of Vimeo API: https://github.com/vimeo/player.js
I was getting an error on mobile devices, so I tried and replace toggleMute() with the correct method: setMuted(boolean)
The error is gone and the video plays on mobile as well.
Please see that I modified the src file only; I'll let you deal with the build process.