[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
Fri Nov 12 18:27:34 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=198277
--- Comment #61 from Peter Fernandes <supersonicandtails at gmail.com> ---
(In reply to Peter Fernandes from comment #60)
> I'd just like to leave a use case here:
>
> I have a music player app that supports playlist-style playback of songs. I
> listen to the `onended` event of the currently-playing Audio element to know
> when it is time to load and play the next track (this includes a fetch
> request to get some track metadata from the server).
>
> However, Safari on iOS won't run that JavaScript to completion when the tab
> is not in the foreground. This means that if my phone is locked, the
> playlist will just stop playing once the current song has finished.
>
> I'm not sure what the expectation is here, but I am hoping that this use
> case will be supported at least when in standalone PWA mode.
Please ignore the above, which appears to be working for me now and is not relevant to this bug post. :)
--
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/20211113/947bf943/attachment-0001.htm>
More information about the webkit-unassigned
mailing list