Live data from Hacker News

Building Firefox's Picture-in-Picture Support

hacks.mozilla.org

11–20 of 133 posts

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

#11

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

I use it a lot because I have only one monitor.

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

#12

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

Yea, I don't get it either. On the other hand, I almost never use a window that isn't maximized.

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

#13
Picture in Picture is great for lectures or follow-along tutorials and I'm glad people are taking it more seriously (initially was using Youtube on Safari purely because of this feature, but later on Chrome had it... albeit a bit wonky, I started using it on Chrome normally).

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

#14

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

I use PIP a lot in Chrome while browsing Reddit. If I see a video link, I can play the video while continuing to scroll through Reddit comments.

(YouTube PIP is kind of difficult to discover; you have to right-click, move the mouse off the menu, and right-click again to get the native right-click menu, which is where the PIP button is.)

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

#15

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

A comment on reddit said they use it all the time when following coding tutorials. Seems like a handy use case.

That brings up a second question: who watches coding tutorials? I'd imagine it's probably people with less than a few weeks of coding experience, because it's horribly inefficient compared to text tutorials.

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

#16
> To work around these problems, we rely on the fact that the web page is being sent events from the browser engine. At Firefox, we control the browser engine! Before sending out a mouse event, we can check to see what sort of DOM nodes are directly underneath the cursor.

This triggered some mental alarm bells when I read it.

I understand what Mozilla is trying to accomplish, but this feels like it could become a serious WTF moment for a developer. "There is absolutely no way in hell this element should be able to receive mouse events right now, what is Firefox doing?"

Is this a problem? Perhaps the web is so far down the hacks/exceptions route that adding one more legitimately won't make a difference?

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

#17

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

browsers let users access content from the internet and some of that content is video. for the life of me i can't see why it took so long ;)

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

#18

> To work around these problems, we rely on the fact that the web page is being sent events from the browser engine. At Firefox, we control the browser engine! Before sending out a mouse event, we can check to see what sort of DOM nodes are directly underneath the cursor. This triggered some mental alarm bells when I read it. I understand what Mozilla is trying to accomplish, but this feels like it could become a ser…

I don't think they are talking about mouse events the website can observe. Firefox needs to figure out where the video is and make it's UI on top of that work, there is no observable interaction with the site DOM or its event handlers.

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

#20

For the life of me I can't see why anyone would need picture in picture for browsers. More features most people don't need. Please come down to earth Mozilla. You have lost your way. Please revisit NCSA Mosaic and witness your roots.

it allows me to size a video frame arbitrarily from YouTube across multiple monitors, rather than relying on YouTubes stepped resize and wasting screen real estate on YT comments.

it allows me to size video frames arbitrarily across streaming sites like CyTube that don't support frame-out natively.

As someone who had to use mosaic and gopher and all that shit, i'd really rather not revisit it. It's nice in the way that it's sort of quaint to boot up an old workstation that has nothing but QBASIC, but it's not actually pleasant or useful.

Post reply on HN