Enable user-gesture activation model on Fennec
Categories
(Firefox for Android Graveyard :: Audio/Video, enhancement)
Tracking
(relnote-firefox 66+, firefox66 fixed)
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
We've decided to ship this new blocking autoplay model on Fennec as well to make it consistent with what Desktop has, so we need to flip the prefs.
Assignee | ||
Comment 1•6 years ago
|
||
Comment 3•6 years ago
|
||
bugherder |
Alastor, can you suggest a release note? Thanks!
And, what is "user gesture activation model"? Is there any documentation explaining how to get this to work?
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #5)
And, what is "user gesture activation model"? Is there any documentation explaining how to get this to work?
It's a similar autoplay policy model as what Chrome is using right now. We will allow a site to autoplay after user interacts with it by some specific gestures, eg. mouse click, keyboard pressing, touch.
Assignee | ||
Comment 7•6 years ago
|
||
We don't have any documentation about this model now, but we will have a hack post soon which might cover the details about how the model works.
Comment 8•6 years ago
|
||
(In reply to Liz Henry (:lizzard) (use needinfo) from comment #5)
And, what is "user gesture activation model"? Is there any documentation explaining how to get this to work?
Link to the hacks blog post:
https://hacks.mozilla.org/2019/02/firefox-66-to-block-automatically-playing-audible-video-and-audio/
Basically, once a tab has had a click, printable key press, or a touch end event for a touch that was a tap and not a pan/zoom gesture, the tab is allowed to play media. Plays that occur before user interaction as considered "not user gesture activated", and playback in such tabs is blocked. Navigation (of the top level document) clears the gesture activation status, so we'll start blocking again.
Updated•4 years ago
|
Description
•