[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
Thu May 13 05:19:35 PDT 2021


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

--- Comment #51 from ik at rejh.nl ---
Jamie De Vivo: 

To prevent Safari from adding a web site as a PWA/standalone:

1) Remove all meta tags that tell Safari it's web app capable.
2) Remove the manifest tag from the html and, in javascript, detect the browser and add he manifest for browsers you want to support (in my case: `if (!is_iOS()) { /* add manifest tag */ }`).

Step 2 is required these days as Safari added support for setting 'standalone' mode in the manifest (something I wish they hadn't, in hindsight, because iOS' standalone mode introduces so many bugs, quirks, etc, I consider it broken).

> make the web page full screen from a standard home screen bookmark

You could try the FullScreen API but that requires a user gesture, so probably not the solution you're looking for.

-- 
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/20210513/3cfcc2ae/attachment-0001.htm>


More information about the webkit-unassigned mailing list