Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expected behavior when Silent Mode is on in iOS Safari? #1436

Open
hubol opened this issue Jan 11, 2021 · 3 comments
Open

Expected behavior when Silent Mode is on in iOS Safari? #1436

hubol opened this issue Jan 11, 2021 · 3 comments

Comments

@hubol
Copy link

hubol commented Jan 11, 2021

In iOS Safari with Silent Mode on, some of the demos at https://www.howlerjs.com will not play sound. Music Player and Radio play sound in this mode, but the other demos do not. Why is this?

Running iOS 14.1

@ethanmay
Copy link

This is still a problem. I had to turn off Silent Mode (which usually applies only to the ringer) in order for my phone to play sound.

@EXPSTUDIOmo
Copy link

Came across the same Problem.

https://stackoverflow.com/questions/21122418/ios-webaudio-only-works-on-headphones/46839941#46839941

seems like it has to do with HTML5 vs WebAudio. There is this unmute JavaScript that does a workaround. Is there a way to use it with howler?

https://github.com/swevans/unmute

@derindutz
Copy link

An alternative solution to this problem is to force HTML5 audio with the html5 flag: https://github.com/goldfire/howler.js#html5-boolean-false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants