I’m going to have to end this conversation because we keep going in circles here. I will loop around one more time for the sake of clarity.
There are two different functions being discussed here that you seem to be conflating. Here is a breakdown of the behavior using FireFox, since you believe:
Picture-in-Picture (PIP) is a function of the media player on a website. Enabling it allows that media player to “pop-out” and continue playing video content while you continue to browse/scroll the webpage. Here is an example of me using the PIP feature on YouTube in FireFox. Notice that I had to manually click on the PIP option in order to initiate it:
What you appear to be concerned about is the type of behavior we see on (for example) CNN.com. This is where video content is playing somewhere on the page and as you scroll, that video content plays and follows you. This behavior is typically controlled by the website using a script (which is why disabling scripts for the site blocks the behavior).
This can be very annoying, especially if gets initiated automatically. Below there are two more examples – one where I visit a CNN article in FireFox (using default settings) and simply scroll down the page and another where I disable PIP controls in FireFox settings:
This CNN article using default FF settings
That same article in FF with
Enable Picture-in-Picture video controls disabled:
As you can see, the option FF provides has no effect here, because PIP has nothing to do with this type of site behavior. I invite you to test this yourself as well. I also tried to see if I could find a different way to “disable PIP in Firefox”, which landed me on these Mozilla support questions which echo what is being discussed here:
- Disabling Picture in Picture Video
- I hate the instrusive picture-in-picture function added to FireFox with no way to turn it off
Additionally, here is some of the official FF documentation on PIP:
There is also nothing in
about:config for Firefox that completely disables PIP:
One thing that may help you avoid the type of behavior shown on the CNN page is to ensure that Autoplay is disabled for [the site you’re on], as the video will not start playing automatically and subsequently will not follow you as you scroll the webpage.
Again, I invite you to test this behavior yourself and prove me wrong here. Additionally, if you have found a website where an advertisement is showing this behavior (as opposed to an embedded media player, like in the CNN article example), please let us know the exact URL of this website so that we can improve Shields such that that ad is blocked. However, do not expect changing anything related to PIP to stop an advertisement like that from displaying/behaving the way it does – because PIP has absolutely nothing to do with it.