Hi,
on iOS, audio played via WebAudio is categorized as "Ambient Sound". This means that it will only play when the ringtone is explicitly unmuted (or over headphones). HTML5 audio or video elements are instead categorized as "Media Playback", so they will play even with silenced ringtone.
For trackswitch.js, this means that many iPhone users will experience the unintuitive situation that they don't hear the played audio, even though the media playback volume on the device is turned up. There seem to be some workarounds for this (e.g. unmute-ios-audio), but I'm not sure what the best solution for this is...
Any ideas/thoughts? I'd be willing to implement a solution (and update the Grunt dev dependencies while I'm at it).
Best,
Simon
Hi,
on iOS, audio played via
WebAudiois categorized as "Ambient Sound". This means that it will only play when the ringtone is explicitly unmuted (or over headphones). HTML5 audio or video elements are instead categorized as "Media Playback", so they will play even with silenced ringtone.For trackswitch.js, this means that many iPhone users will experience the unintuitive situation that they don't hear the played audio, even though the media playback volume on the device is turned up. There seem to be some workarounds for this (e.g. unmute-ios-audio), but I'm not sure what the best solution for this is...
Any ideas/thoughts? I'd be willing to implement a solution (and update the Grunt dev dependencies while I'm at it).
Best,
Simon