-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to open multiple pip windows? #27
Comments
The spec certainly allows it, and browser makers can decide what to do. As far as I can tell, the current implementation I could test in Chrome on macOS allows just one PiP window at a given time. |
You're right! Thanks for catching that, just submitted feedback to the chrome team. I'm on Chrome on Linux and that's where I see a single pip window. |
This makes me a little worried about the stability of this function. The current implementation supports only one pip window. If another website (that not under my control) also uses this feature, then my pip window will be forced to close. |
Closing as the spec does allow this, so it's more of a feature request for Chrome's implementation. That request is tracked at https://issues.chromium.org/issues/40891176 |
I noticed that every call to the window.documentPictureInPicture.requestWindow creates a new pip window but destroys the previous one. Is that intentional? Is there a way to create multiple windows?
The text was updated successfully, but these errors were encountered: