DEV Community

Discussion on: Implement Picture-in-Picture on the Web

Collapse
 
beaufortfrancois profile image
François Beaufort • Edited

Really nice article Ananya!
I'm glad you enjoyed playing with the Picture-in-Picture Web API ;)

For info, we're currently working on awesome features for the next iteration of this API:

  1. Media Session integration: playback controls in the Picture-in-Picture window such as next track, previous track, etc.)
  2. Auto Picture-in-Picture: gives the browser to ability to automatically enter and exit Picture-in-Picture for a video when it makes sense.

Have a look and let us know what you think!

Collapse
 
kenedferreira profile image
kened-ferreira

What about multiple picture-in-picture? It would be useful. If it's not possible do this in a same page, maybe one pip per tab should help.

Collapse
 
ananyaneogi profile image
Ananya Neogi

Thanks! 🙂
The Media Session integration definitely seems like a good idea!
For the auto Picture-in-Picture, the use case you provided for video meetings does seem like a good fit for it however I would think that giving the user an option to enable/disable the auto Picture-in-Picture mode would be nice.

Collapse
 
beaufortfrancois profile image
François Beaufort • Edited

Rest assured that the Auto Picture-in-Picture mode will be available only to web apps user trust enough. See bugs.chromium.org/p/chromium/issue...