'How to detect mobile apps in Picture-in-Picture mode from the browser?
It's possible to detect or know if there's an app in Picture-in-Picture (PiP) mode from the browser?
There's an API for the PiP on the browser, but's only to present and handle interaction on websites.
The idea is that from a Js script file, ask the system (wether is iOS or android) for any instances of apps in PiP mode. This is of course viable if there's a native app, but haven't found anything this far.
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|