Muting through API on mobile
See original GitHub issueSince player.setVolume(0) doesn’t work on mobile (actually, it’ll unmute the video if it was muted before), is there a way to mute the video through the API?
Edit: player.setVolume(0) works as expected on Android, but not on iOS (Chrome and Safari).
Edit2: I’m using pause instead of mute on iOS for now, if anyone has a better solution, please let me know.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
 Top Results From Across the Web
Top Results From Across the Web
New REST API endpoints for Mute functionality
To mute or unmute a user you would use the POST mutes/users/create and POST mutes/users/destroy endpoints respectively. To find out whether an authenticated ......
Read more >POST mutes/users/create | Docs | Twitter Developer Platform
Mutes the user specified in the ID parameter for the authenticating user. Returns the muted user when successful. Returns a string describing the...
Read more >Programmatically muting mobile in expo - Stack Overflow
Is it possible to call a system level API and programmatically mute the volume of a mobile device? Been reading through the Audio...
Read more >Add Muting and Unmuting to Your Video Chat App in ... - Twilio
Learn how to enable your users to mute and unmute their audio and video tracks in your video chat apps powered by Twilio...
Read more >Is there API support for the new alert muting feature?
Is there a way to interact with/edit/enable/disable these rules programmatically via API? We'd like to add disabling and reenabling all of ...
Read more > Top Related Medium Post
Top Related Medium Post
No results found
 Top Related StackOverflow Question
Top Related StackOverflow Question
No results found
 Troubleshoot Live Code
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free Top Related Reddit Thread
Top Related Reddit Thread
No results found
 Top Related Hackernoon Post
Top Related Hackernoon Post
No results found
 Top Related Tweet
Top Related Tweet
No results found
 Top Related Dev.to Post
Top Related Dev.to Post
No results found
 Top Related Hashnode Post
Top Related Hashnode Post
No results found

In the meantime
setVolume(0)andsetVolume(1)will work on iOS. We made some internal changes that fixed this issue.in iOS using
setVolume(0)andsetVolume(1)cause may app audio interrupt!!!