Skip to content

Playback with silenced ringtone on iOS #13

@simonschwaer

Description

@simonschwaer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions