Skip to content
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

Picture-in-Picture Support #21

Closed
mihar-22 opened this issue Feb 2, 2021 · 0 comments
Closed

Picture-in-Picture Support #21

mihar-22 opened this issue Feb 2, 2021 · 0 comments
Assignees
Labels
docs Improvements or additions to documentation feature New feature or request player provider
Projects

Comments

@mihar-22
Copy link
Member

mihar-22 commented Feb 2, 2021

Tasks

Design and implement an interface to support entering and exiting picture-in-picture (PiP) across browsers/providers.

API

Player API

  • pictureInPicture.active: boolean
  • pictureInPicture.supported: boolean

Player Methods

  • enterPictureInPicture(): Promise<void>
  • exitPictureInPicture(): Promise<void>

Events

  • picture-in-picture-change
  • media-enter-pip-request
  • media-exit-pip-request

Provider API

  • Provider's need to expose a picture-in-picture API similar to the on available on the player and the existing fullscreen API.

Notes

  • Careful when entering/exiting fullscreen - toggle PiP correctly.

References

@mihar-22 mihar-22 added feature New feature or request player provider labels Feb 2, 2021
@mihar-22 mihar-22 added this to Backlog in Player 1.0 via automation Feb 2, 2021
This was referenced Feb 2, 2021
@mihar-22 mihar-22 moved this from Backlog to Priority in Player 1.0 Mar 18, 2021
@mihar-22 mihar-22 moved this from Priority to Backlog in Player 1.0 Jun 23, 2021
@mihar-22 mihar-22 moved this from Backlog to Priority in Player 1.0 Jul 4, 2021
@mihar-22 mihar-22 removed the player label Jan 2, 2022
@mihar-22 mihar-22 added this to the Release 0.7.0 milestone Feb 8, 2023
@mihar-22 mihar-22 self-assigned this Feb 8, 2023
@mihar-22 mihar-22 added docs Improvements or additions to documentation player labels Feb 8, 2023
mihar-22 added a commit that referenced this issue Mar 10, 2023
mihar-22 added a commit that referenced this issue Mar 16, 2023
mihar-22 added a commit that referenced this issue Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to documentation feature New feature or request player provider
Projects
No open projects
Player 1.0
Priority
Development

No branches or pull requests

1 participant