[Webkit-unassigned] [Bug 198277] Audio stops playing when standalone web app is no longer in foreground

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 8 11:13:25 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=198277

--- Comment #71 from Jer Noble <jer.noble at apple.com> ---
(In reply to Jesper van den Ende from comment #69)
> When using `new AudioContext()` rather than an audio element. Background
> audio doesn't work at all. Regardless of whether the site is installed or
> not.
> 
> fullscreen:
> https://ios-bg-audio.glitch.me/fullscreen.html
> 
> minimal-ui:
> https://ios-bg-audio.glitch.me/minimal-ui.html
> 
> standalone:
> https://ios-bg-audio.glitch.me/standalone.html

This is expected. On iOS, WebAudio is considered "Ambient" audio from the system's perspective, and ambient audio is blocked by the system once the app producing it is no longer foreground.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220208/4338fa43/attachment.htm>


More information about the webkit-unassigned mailing list