Live data from Hacker News

Building Firefox's Picture-in-Picture Support

hacks.mozilla.org

131–133 of 133 posts

Re: Building Firefox's Picture-in-Picture Support

#131

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 in a small window, but not a a , etc.

Not "API", and Mozilla intends to vote against, I hope...

Re: Building Firefox's Picture-in-Picture Support

#132

People using tiling window managers like i3 or sway should get friendly with this feature. It allows me to "full window" (note: not screen) netflix/amazon/YouTube videos in a tile which was impossible to do without PIP.

This.

For Chrome users, I was using the "Windowed - floating Youtube/every website" plugin to achieve the same effect. It also gives you the control UI, which PiP doesn't have yet.

Re: Building Firefox's Picture-in-Picture Support

#133
post #118
post #29

To be perfectly honest, I didn't realize this was a Firefox feature. I thought it was just a new part of YouTube.

YouTube also recently added a similar feature that's more limited

I was aware of that, since it isn't very intuitive within the UI I figured that Youtube was attempting to push it a bit more aggressively.
Post reply on HN