| ▲ | hn-aarvin 3 hours ago | |
> Frustratingly, browsers can decide to block a website from playing any sound. iOS Safari seems particularly strict about this. So, if you’re not hearing a click sound when tapping the big red button, please check out this website on a desktop computer. FYI, setting `navigator.audioSession.type` to `"playback"` will allow the sounds to play on iOS even when silent mode is on. (It defaults to `"ambient"`.) On iOS versions below 16.4, this won't work as reliably; there are hacks you can do with `AudioContext`^[1] instead. | ||
| ▲ | meatbal_mike 21 minutes ago | parent [-] | |
[flagged] | ||