howler.js
howler.js copied to clipboard
Every alert() mutes and unmutes (and keeps toggling) Howler on iOS (i.e. Safari, iPhone), observed on iOS 14.7
Strange but true. I am not certain but maybe it has something to do with weird browser policies (again) like user gestures blocking and unblocking sounds etc.
I wasn't able to test it on an iPad. If someone does please let your results be known through here.
Getting rid of all alert()
s would obviously solve the problem but occasionally there are situations where an alert()
is actually very useful. So any ideas?
P.S. Please either verify or report otherwise if you get to test this on an iPhone and/or iPad including the version info.
I also encounter it now. How did you solve it?
Setting Howler.usingWebAudio = false;
seems to solve the problem but it reduces performance.
Did tests on various Apple devices, the results varied hugely even though, on the surface, they all had the same version of Safari. Safaris on different iPads are like different cousin Safaris responding differently.