News for hackers. Stuff that matters.
Re:Building Firefox's Picture-in-Picture Support by warpech on Monday February 10, 2020 @09:32AM (#22289393)
This is the Picture-in-Picture API it implements: https://w3c.github.io/picture-in-picture/

I am surprised that the API is modelled to only allow watching videos in PiP, while the old and mature Fullscreen API allows to put any element in full screen. These should be analogous. I don't see a reason why I can run a <video> in a small window, but not a <canvas> a <picture>, etc.

Re:Building Firefox's Picture-in-Picture Support by mconley on Monday February 10, 2020 @10:16AM (#22289775)
As the article mentions, Firefox is not currently implementing the Picture-in-Picture Web API that you linked to. Firefox's implementation is a browser feature only, and not exposed to the web at large.
Re:Building Firefox's Picture-in-Picture Support by joaobeno on Monday February 10, 2020 @11:16AM (#22290397)
Not "API", and Mozilla intends to vote against, I hope...