50 points · by andrewstuart · 3y ago · 48 comments
I agree with the Firefox folks here: the browser is the user's agent. Being the web developer's canvas comes after.
Splodging a big ugly and pointless Picture in Picture icon over a video is not the best user experience in all cases. As the application developer it should be up to me to make that decision, not Firefox.
Personally I make use of this feature a lot, it's one of the reasons I prefer firefox over chrome (though there's things to accomplish similar things on Chrome, but firefox native support is better... you even get some controls over the video on the pip window).
You are over-exaggerating it to get what you want, aren't you? I had to go back and check. It appears only when you roll the mouse over the video and it's inconspicuous even then.
As an application developer you're obviously shipping an executable or an app, so why is Firefox part of the equation?
Totally lost rn. Could you please elaborate?
You want to take the decision away from the user because you claim that user experience is better.
What is so special about your website an your video that nobody ever would want to use a general purpose feature for that video?
Where this policy falls down is in assuming that video content consumption is all Netflix or YouTube. The absence of an API makes certain experiences that use video in different ways.
The UK driving test has a hazard perception part where the examinee has to click to indicate a developing hazard - if there are hardwired buttons on the video player that popup a new window, you can’t build something like that safely.
Half the point of JavaScript in the browser is that the browser development team cannot predict all the possible meanings of a click in a rich web experience.
User agency should be prioritized over all other concerns.
On the other hand, a few years ago I accidentally triggered PiP in mobile Safari, and it worked so inconsistently especially on YouTube when switching to another app, that I dread using it.
(Recently invidious showed how to do it properly)
https://caniuse.com/mdn-api_htmlvideoelement_disablepicturei...
So annoying because I should be able to create a user interface with animated UI made of videos, not animated GIFs.
There are many more valid use cases for disablePictureInPicture in the bugzilla thread https://bugzilla.mozilla.org/show_bug.cgi?id=1611831
Annoying.
Mozilla is right.
The core problem is that for some applications the video is inextricably linked to some other content on the page and just makes no sense on its own, but Firefox always treats the video as its own content. Often that's fine. Sometimes it's not.
It's not even per-site. If you use SiteX where PiP is problematic then you can't even disable it just for that site but have to disable it globally.
I don't see how the user of SiteX is served by any of this.
All the others are jumping out the window into the fire, FOLLOW THEM!"
The website can offer their CSS, and I can load my CSS (greasemonkey scripts) to override it. They have the choice and so do I.
The argument is "why should a website have the ability to block me from what I am doing to the content they give me"
Why should a website limit what I do?