-
Notifications
You must be signed in to change notification settings - Fork 38
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
Enter Picture-in-Picture without user activation if document.pictureInPictureElement is set #116
Comments
Note that this is an idea I had to help with some feedback we got from JWPlayer. They seem to be running ads and content in different |
I also support this proposal, and I was looking to see if someone already opened an issue on ad interoperability as a matter of fact. |
I think this proposal makes sense. @OrenMe I believe the controls scenario you're describing is covered by the existing reference to Media Session and the skipad action defined there. |
@OrenMe You may want to have a look at https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/l6sW0G4jzhE. We're going to experiment with a Skip Ad button in the Picture-in-Picture window. |
Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575
thanks @scottlow, @beaufortfrancois - indeed it answers. |
Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575
I'm OK with this. It has a low potential for misuse and a compelling use case. |
Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026}
Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026}
Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026}
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francois@gmail.com> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Cr-Commit-Position: refs/heads/master@{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: 2f27bcbec4869d7ceed7e81f7517faa1e0a75510
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: 2f27bcbec4869d7ceed7e81f7517faa1e0a75510
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: eed8064109e8e669fb76b940f8bc7fcc2a225b23
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: 2f27bcbec4869d7ceed7e81f7517faa1e0a75510
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: eed8064109e8e669fb76b940f8bc7fcc2a225b23
…PictureElement is set, a=testonly Automatic update from web-platform-tests Do not require user gesture if pictureInPictureElement is set Following w3c/picture-in-picture#116, it would be great to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if `document.pictureInPictureElement` is set. Bug: 928697 Change-Id: I2c191368d8dd1bd6ddade719399d0679ef410575 Reviewed-on: https://chromium-review.googlesource.com/c/1454360 Commit-Queue: François Beaufort <beaufort.francoisgmail.com> Reviewed-by: Mounir Lamouri <mlamourichromium.org> Cr-Commit-Position: refs/heads/master{#630026} -- wpt-commits: 5692bc8fe5e5ae3703dda9f0689e1d8ec3431411 wpt-pr: 15247 UltraBlame original commit: eed8064109e8e669fb76b940f8bc7fcc2a225b23
@mounirlamouri suggested offline we may want to allow video to enter Picture-in-Picture without user activation if there's already a visible PiP window in the context of the document, in other words if
document.pictureInPictureElement
is set.This could help in situations where there are multiple video elements for one PiP media session.
What do you think @jernoble @scottlaw?
The text was updated successfully, but these errors were encountered: