Live data from Hacker News

Firefox Picture-in-Picture

blog.mozilla.org

151–160 of 160 posts

Re: Firefox Picture-in-Picture

#151

Earlier quoted context omitted.

Wait, VLC has a youtube-dl integration?

mpv does, if that's what you're looking for.

Oh that's nice! I was actually already using mpv for playback but I never noticed this feature. The only disadvantage this has over my stitched together setup is that I don't get to keep the video afterwards but it fixes a lot of pain points.

Re: Firefox Picture-in-Picture

#152

Earlier quoted context omitted.

mpv does, if that's what you're looking for.

Oh that's nice! I was actually already using mpv for playback but I never noticed this feature. The only disadvantage this has over my stitched together setup is that I don't get to keep the video afterwards but it fixes a lot of pain points.

I mean, if you want to keep the video afterwards, you can just download it and then play it.

Which also has the advantage that playback will always be smooth. That's almost always true of playing directly from a youtube URL, but I have had occasional issues. Most notably that leaving a straight-from-youtube video paused long enough will get it into a state you can't resume from.

Re: Firefox Picture-in-Picture

#153
I like having a floating YouTube video on my desktop while I work so much that I knocked up this simple solution a few years ago:

http://www.jaruzel.com/apps/youtube/

(Select 'View (New Window)')

It suits me, and gets used lots. I've never bothered to look, but I reckon there's probably a Chrome extension that also does the same.

Re: Firefox Picture-in-Picture

#154

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.

Obviously there's a wide spectrum of possible uses and different people have different "focus" tastes. I've found Firefox's PIP particularly useful in watching videos while grinding in certain types of MMOs. So long as the MMOs support "Borderless Window Fullscreen" rather than "pure" fullscreen, Firefox's PIP shows up right on top. I just recently upgraded to an ultra-widescreen so I've got plenty of horizontal space to play with. In a previous dual monitor setup I might have just had the game on one screen and the show on the other. This PIP gives me a bit more flexibility than that, especially I discover which games sing in the "2k" fullscreen. Some of these MMOs I didn't realize quite how cramped they felt in 1080p until I got to extend them to ultra-wide.

Re: Firefox Picture-in-Picture

#155
post #28

Earlier quoted context omitted.

It works better than the native support on OSX. A lot of videos I watch on Safari don't show the PIP button but work fine on Firefox.

In Safari, you can right-click the speaker icon in the tab or address bar, and there's a PIP option in the menu. Not as accessible as Firefox for sure.

Well, that's exceptionally well hidden. Thank you for the tip.

Re: Firefox Picture-in-Picture

#156

Earlier quoted context omitted.

Oh that's nice! I was actually already using mpv for playback but I never noticed this feature. The only disadvantage this has over my stitched together setup is that I don't get to keep the video afterwards but it fixes a lot of pain points.

I mean, if you want to keep the video afterwards, you can just download it and then play it. Which also has the advantage that playback will always be smooth. That's almost always true of playing directly from a youtube URL, but I have had occasional issues. Most notably that leaving a straight-from-youtube video paused long enough will get it into a state you can't resume from.

Yeah, that's one of my biggest peeves with the YT player as well.

I often watch talks or similar kinds of (long) videos in the bg some of which I might wish to keep that's why I like being able to download and view at the same time. But downloading a second time during quite hours is probably also fine.

Re: Firefox Picture-in-Picture

#157

Earlier quoted context omitted.

This also annoys me. Even just allowing arrow keys to seek back and forth would be enough for now.

That can be enabled with media.videocontrols.picture-in-picture.keyboard-controls.enabled toggle in about:config.

Woah that's perfect, thank you!

Re: Firefox Picture-in-Picture

#158

I really love this feature and I hope that it receives more love and polish in the future. It's unfortunately unusable with foreign language videos as the subtitles don't pop out with the video. Not sure if this is due to the lack of such an API, or if the major video providers (Netflix, YouTube, etc.) simply haven't implemented it. My other wishlist feature is to have rewind/forward controls natively in the PIP wind…

Unless the captions are burned in, currently you cannot have the captions show up in the PiP video due to the API restrictions. It's mentioned in the proposal doc here: https://www.w3.org/TR/picture-in-picture/#security-considera...

Thank you. I was trying to find information on this, but all I found was this bugzilla post: https://bugzilla.mozilla.org/show_bug.cgi?id=1551058

Re: Firefox Picture-in-Picture

#159
post #84
post #28

Earlier quoted context omitted.

In Safari, you can right-click the speaker icon in the tab or address bar, and there's a PIP option in the menu. Not as accessible as Firefox for sure.

Good to know, thanks. I suspect right click doesn't work when there's a transparent div over the video.

Luckily this is all in the browser's UI, nothing a webpage can do to block that.

Re: Firefox Picture-in-Picture

#160

Earlier quoted context omitted.

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/dc8919e7e…

Thanks. A question occurs to me shouldn't such sanitation be its own step in order to be generalized to anything that the user wants to run?
Post reply on HN