Live data from Hacker News

Firefox Picture-in-Picture

blog.mozilla.org

91–100 of 160 posts

Re: Firefox Picture-in-Picture

#91
There are a couple of sites that auto-started video and when you scrolled down, automatically did picture-in-picture. In fact I think Facebook even experimented with it for a while. The problem with those implementations was that the user had no control over which videos, nor the ability to prevent them from displaying. It took a heavy amount of NoScript isolation to prevent it from happening. I always thought it would be useful if someone would write something that put the user back in control.

Re: Firefox Picture-in-Picture

#92
post #36

Earlier quoted context omitted.

It is a little clunky and could use a good deal of polish. For example, you can only PiP one video, and controls remain in the tab with the video frame. PiP only gives you play/pause, no scrubbing or anything from the embedded player. The always on top is a feature for some, but can be a hindrance, too. That behavior should be a toggle for the user so they can use their tools how they like.

These are a few of the reasons I've continued to use the "Open With" extension with mpv. ([right-click]->Open With->mpv) This provides full playback control, lets me toggle stay-on-top, etc. Firefox's PiP is a nice thought but just isn't right for me as currently implemented.

if you like vim like keybindings courtesy of tridactyl

bind V hint -W ! mpv to show a letter or letters adjacent to all links and open the one chosen in mpv. Normally most pages have few enough links visible that hints are either 1 or 2 characters. This means instead of picking up the mouse you can hit 3 keys.

Re: Firefox Picture-in-Picture

#94
post #57

Earlier quoted context omitted.

I guess I don't know enough about how WMs work. :( I'm curious how the WM could detect that the a portion of a window is playing video, and break that out into it's own movable window? I'm not sure how you do that without the browser managing that.

But you don't want it to be limited to plain video players - videoconferencing apps, games, and various real-time data displays etc are good fits to pip too. You are able to pipify any window without the app having to explicitly support it.

I think the main point of this feature is that it breaks the video out from a window in the existing page.

I can then interact with that video separately from the page. I can scroll around on the page, I can open other links. It decouples the video from the page.

There's lots of ways to open new chromeless window, or set a window always-on-top. That totally makes sense to be in a wm, but that's not all this is doing, right?

Re: Firefox Picture-in-Picture

#95
This is a great feature and I love Firefox and what Mozilla stands for, but I have recently switched to Edge because of how hard my CPU is hit when I watch YouTube videos in Firefox. I understand that this is not entirely within the control of Mozilla and the Firefox team, but it became such an issue on my current machine, which is admittedly quite old, that I felt forced to make the switch.

Re: Firefox Picture-in-Picture

#96

Earlier quoted context omitted.

These are a few of the reasons I've continued to use the "Open With" extension with mpv. ([right-click]->Open With->mpv) This provides full playback control, lets me toggle stay-on-top, etc. Firefox's PiP is a nice thought but just isn't right for me as currently implemented.

if you like vim like keybindings courtesy of tridactyl bind V hint -W ! mpv to show a letter or letters adjacent to all links and open the one chosen in mpv. Normally most pages have few enough links visible that hints are either 1 or 2 characters. This means instead of picking up the mouse you can hit 3 keys.

You can get most pages down to 1 character if you craft your own custom selector, e.g. https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa...

For the record we don't recommend piping straight to `!` as a malicious (and fairly Tridactyl specific) site could use it to execute whatever it wanted. We have a default bind for open in mpv that sanitises things - https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa... using https://github.com/tridactyl/tridactyl/blob/dc8919e7e65d5dfa...

Re: Firefox Picture-in-Picture

#97

Wait this is not new is it ? Ive beenm using it for the past 6 months at least...

The linked article was posted on January 6th, 2020. For some reason many people received an email about it today. Must have just been a soft rollout and now they are starting to actually publicize the feature?

Re: Firefox Picture-in-Picture

#98

I'm really surprised to see how many people appreciate this feature. I've tried to use it many times but I've found that when I'm watching a video I either want to give it my full(screen) attention (movie, entertainment) or have it in the background entirely (music, news, podcast.) I've personally not found a use for it and end up closing it after about 5-10 minutes.

i use it when i'm watching a youtube or other video that has interesting parts, but also lots of fluff. PiP lets me do other things and mostly ignore the fluff

Re: Firefox Picture-in-Picture

#99
post #36

Earlier quoted context omitted.

It is a little clunky and could use a good deal of polish. For example, you can only PiP one video, and controls remain in the tab with the video frame. PiP only gives you play/pause, no scrubbing or anything from the embedded player. The always on top is a feature for some, but can be a hindrance, too. That behavior should be a toggle for the user so they can use their tools how they like.

These are a few of the reasons I've continued to use the "Open With" extension with mpv. ([right-click]->Open With->mpv) This provides full playback control, lets me toggle stay-on-top, etc. Firefox's PiP is a nice thought but just isn't right for me as currently implemented.

That's what I do as well, and it's fantastic. Bonus functionality: Get MPV to always open on the second screen fullscreen (if you have one) and have it be always-on-top, small and on the bottom right corner when non-fullscreen, so you can just press Esc on the full-screen mpv window and get a PiP-like window.

Re: Firefox Picture-in-Picture

#100
post #82

Wait this is not new is it ? Ive beenm using it for the past 6 months at least...

Yeah, I've been able to use it for months (FF on Mac)... Was it rolled out to certain computers for testing before?

Same here. FF on Mac. I’ve been using it since lockdown began in the UK in March. It’s been really handy to keep BBC News in the corner of the screen when the Government was doing daily briefings.
Post reply on HN