scottschiller/SoundManager2

[Question] on iOS, is it possible to make SM2 mute when phone is switched to silent mode?

vminc opened this issue · 1 comments

vminc commented

on iOS, is it possible to make SM2 mute when phone is switched to silent mode, or is this impossible with all javascript-based sound managers?

I would expect the OS to pause if not mute HTML5 audio in this case, and tell the HTML5 audio API (and SM2 / other JS APIs) that playback is being stopped or suspended. 🤔

With iOS and mobile devices in general, usually the device will "take over" and SM2 will receive events when the OS intercepts playback for whatever reason.