Firefox Picture-in-Picture
blog.mozilla.org
blog.mozilla.org
I use it while watching overwatch league games in the browser because it allows me to resize the popped-out video arbitrarily, instead of the site's embedded youtube player options of either tiny-window-in-browser or full-screen sizes (there is no theater mode in the embedded player for some reason).
Not as accessible as Firefox for sure.
also;
* rank up the cache settings in mpv to prebuffer the whole vid
* see the ytdl-format setting in mpv.conf to select a codec that your machine can decode in hardware for enhanced power efficiancy (lower fanspeed)
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.
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...
https://hacks.mozilla.org/2020/01/how-we-built-picture-in-pi...
Yes, the footer says "You're receiving this email because .. is subscribed to Firefox Account Tips." and indeed I can now see that setting in my Firefox account. I'm sure that checkbox popped up sometime after I created the account and was conveniently set to "true" by default.
To me, such sleazy tactics are simply a deep admission of failure.
I marked the email as spam because that’s what it is.
I would set up spam filtering but I don’t trust SpamAssasin to actually be useful rather than just another headache, because last time I was on a system where it was in use it routinely marked non-spam things as spam while simultaneously letting through a whole lot of spam. Admittedly this was years ago.
I did find Paul Graham’s essay on spam filtering inspiring and thought about doing something like that for myself. But although I have a huge corpus of spam, I don’t have a whole lot of non-spam because I don’t receive a lot of non-spam.
Spam is also annoying and uninspiring to do anything about because it is just yet another of the billions of problems that we have that were caused by other people being inconsiderate dicks :(
It currently feels like almost all problems that I could work on should not have existed in the first place and are only there because of us all being the way that we are.
Someone got paid to sell you out and cashed their check on your privacy. I wonder if they have a gdpr contact and what it would look like if you forwarded this and told them you did not consent to it.
If anyone from Mozilla is reading this, one thing I wish Firefox did was to allow us to make it sticky to the corner like Safari does on MacOS.
I think just throwing the PiP window to a corner and expecting it to be there is subtle difference but makes the overall experience much simpler. I don't having to decide where exactly to position the video and keep moving it little by little. Also, if I push the Safari PiP video against the edge of the screen, it simply collapses. That's helpful when the video is blocking something I care about and I need to quickly hide it. Again, simpler experience than allowing free form movement for my workflow.
The problem for me is it doesn’t have controls past pause and play. If I want to back the video up or skip it forward I need to go figure out which tab it’s coming from, and I can’t remember if I have to unpop to get controls. Windows 10, ymmv.
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.
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.
When reading the feature my thought was that it would be a floating window _within_ the browser window - which I think I would have preferred.
So popping out a new firefox window that operates like a normal window would be great, but the current solution seems like the worst of both worlds.
Also on an unrelated note, seeing your username we used to work together - hope all is going well :)
I'm using a tiled window manager on X and was rather confused by other comments here, before realizing my window manager must be giving me unintended control over the video popup. I just get a floating window that's fully draggable and resizable identically to other windows.
I need to put this through its paces, but it may vault Firefox back into the role of my default browser.
But there is a PiP button in the "hamburger with musical note" menu in the toolbar.
It seems Google has an optional PiP Chrome extension as well. It looks like it just makes the button more visible.
https://chrome.google.com/webstore/detail/picture-in-picture...
You should then see the browser contextual menu with 'Picture-in-picture' in the list of options.
They implemented it in Firefox because Firefox is the one detecting and playing the video? MacOS already has a similar feature, but AFAIK it only works in Safari.
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.
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?
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.
My other wishlist feature is to have rewind/forward controls natively in the PIP window.
javascript:document.querySelector('video').requestPictureInPicture()
It works on YouTube, Twitch, HBO Now, Netflix, probably others too. I keep it in my Bookmarks Bar for quick access, I hope others here will find it useful!
Not all video elements are for stand-alone consumption. For example, there are "hero" videos in landing pages, enterprise solutions requiring smart overlays, or imagine a component in an online video editor.
Firefox also have no plans to support the Picutre-in-picture web API: https://www.w3.org/TR/picture-in-picture/.
See, for example, this bugzilla issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1611831
And i watch a lot of simracing with multiple streamers streaming the same race.
I put it on top and then on all desktops and change desktops with it.
Sometimes I come back and close some tab and it happens to be the parent of the video I'm watching.
Note: other than FF, you can also trigger PiP (edit: on Safari) on a YouTube video by double-right-clicking on the video element OR long pressing on the speaker icon on the tab/address bar.
Neither of these worked for me. Chrome 83 on Win 10.
It was then locked away behind YouTube Premium, and now YouTube (non-premium) occasionally bugs you to pay for the premium when you try switching to another app so that you can continue playback.
I've been using pipifier for this - especially for Netflix, didn't know about this until now - thanks
Not sure if it's possible to get a browser-based YouTube video to go PiP on iOS Safari.
You should then see the browser contextual menu with 'Picture-in-picture' in the list of options.
> play alongside while you go about your business on
> other tabs or do things outside of Firefox.
Do we need to watch video while we go about our business? You better finish your business or the video. Which leaves me thinking: this is kind of bloat.
Yes, and don't tell me how to do my work.