Add a preference to control the Picture-in-Picture video toggle
Categories
(Firefox :: Settings UI, enhancement)
Tracking
()
People
(Reporter: mconley, Assigned: mconley)
References
Details
Attachments
(2 files)
The Picture-in-Picture toggle is displayed on videos when the mouse hovers over them. Some users might not want to ever use the feature, and might find the toggle intrusive. We're hoping to give them the ability to disable the toggle in bug 1568320, but we also need to give them the ability to turn it back on in case it's disabled by accident or the user changes their mind.
Product suggested adding a new checkbox to about:preferences, so this bug is about doing that.
Assignee | ||
Comment 1•5 years ago
|
||
Hi mheubusch,
I reached out a few weeks ago about this, but went on PTO. I'm back now, and so this is the bug I promised you I'd file about adding a checkbox to about:preferences for the Picture-in-Picture toggle. Who should I speak to about figuring out how best to integrate this option?
Comment 3•5 years ago
|
||
Mike,
Aligned with @emanuela
Can we go with:
Enable picture-in-picture video controls
and place the control in General > Browsing
Open questions:
Are we using picture-in-picture or picture in picture in other interface elements? We should be consistent.
If possible, it'd be great to have a SUMO article with additional detail and a Learn more link.
Thanks for looping me in @jpfaller
We'll work on a SUMO article when this is in Beta (need-infoing myself as a reminder). Here's a url you can use as a "Learn more" link: https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/picture-in-picture
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Jeff Pfaller from comment #3)
Enable picture-in-picture video controls
and place the control in General > Browsing
I can do that, yes. We've been using the form "Picture-in-Picture" everywhere else - can I presume we'll use the same capitalization and hyphens?
Comment 6•5 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) (Catching up from PTO) from comment #5)
(In reply to Jeff Pfaller from comment #3)
Enable picture-in-picture video controls
and place the control in General > Browsing
I can do that, yes. We've been using the form "Picture-in-Picture" everywhere else - can I presume we'll use the same capitalization and hyphens?
I believe we'd like to do lowercase, since it's a feature, not a branded product.
Assignee | ||
Comment 7•5 years ago
|
||
(In reply to Jeff Pfaller from comment #6)
I believe we'd like to do lowercase, since it's a feature, not a branded product.
Okay, understood, thanks.
Assignee | ||
Comment 8•5 years ago
|
||
The preference is only exposed if media.videocontrols.picture-in-picture.enabled is set
to true.
Assignee | ||
Comment 9•5 years ago
|
||
Here's a try build with the preference added: https://queue.taskcluster.net/v1/task/Ha96u69WQYCYPDscrhcWlw/runs/0/artifacts/public/build/target.zip
Is this satisfactory, Jeff?
Comment 10•5 years ago
|
||
Hi, I'm not sure this is the right place to do this,
I searched for a preference to prevent the PiP window to hide the UI Buttons (Pause, Cross and the thing to put it back).
I could'nt find a reference to an already existing task about this.
However what preferences I think would improve UX :
- Control the time to fade-out of the buttons in the UI with 0 = no fade-out;
- make the buttons disappear when the mouse is out of the PiP window and appear when the mouse is IN : BOOL;
Currently the behaviour is that the whole UI only appear if the mouse is directly over one of the Buttons. I find myself searching blindly in the broad spot where the button I want to click is. It usually take one to two more seconds than it should.
Thanks! Dont hesitate to move this message anywhere else to better suit your task workflow I was'nt sure how to proceed on this.
Comment 11•5 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) (Catching up from PTO) from comment #9)
I don't have a Windows machine, so I can't check this build. A screenshot would work?
Here's a try build with the preference added: https://queue.taskcluster.net/v1/task/Ha96u69WQYCYPDscrhcWlw/runs/0/artifacts/public/build/target.zip
Is this satisfactory, Jeff?
Assignee | ||
Comment 12•5 years ago
|
||
Here's a screenshot of the new checkbox.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
(ni?ing for feedback on the screenshot in comment 12)
Comment 14•5 years ago
|
||
It looks good to me from a content perspective.
@emanuela - are we aligned on the order of this (putting PIP last). It feels right to me but I could also see maybe placing it above the "reco" controls
Comment 15•5 years ago
|
||
Hey Jeff,
I'm also leaning towards adding it before Recommend extensions as you browse
.
Thank you for asking!
Comment 16•5 years ago
|
||
Sounds good to me!
Comment 17•5 years ago
|
||
Comment 18•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 19•5 years ago
|
||
Build ID 20190902191027
User Agent Mozilla/5.0 (Windows NT 10.0; rv:70.0) Gecko/20100101 Firefox/70.0
Verified as fixed on the latest Beta build (v70b3) and on the latest Nightly build.
Updated•5 years ago
|
Description
•