Closed
Bug 1487131
Opened 8 years ago
Closed 8 years ago
media.autoplay.enabled not respected
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: u534134, Unassigned)
Details
Attachments
(1 file)
|
25.53 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Build ID: 20180824192747
Steps to reproduce:
Version 63.0b1 (64 bit)
I disabled media.autoplay.enabled;false but video on www.fastweb.it continue to auto start
Actual results:
Version 63.0b1 (64 bit)
I disabled media.autoplay.enabled;false but video on www.fastweb.it continue to auto start
Expected results:
Video should be not autoplayed with audio
Updated•8 years ago
|
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Comment 1•8 years ago
|
||
In Firefox 63 you should open about:preferences#privacy and scroll to the "Permission" section. At the very end of that section you will find an entry "For websites that autoplay sound". Feel free to set that to "Don't autoplay". That should give you the expected behavior without manually having to mess with user prefs.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment 3•8 years ago
|
||
I just realized that your report says 63.0b1. Since 63 is still in the Nightly channel it should be 63.0a1. What version of Firefox do you use?
If you are really on 63 these settings should get you a door hanger prompt:
// Switch block autoplay logic to v2, and enable UI.
pref("media.autoplay.enabled.user-gestures-needed", true);
// Allow asking for permission to autoplay to appear in UI.
pref("media.autoplay.ask-permission", true);
// Set Firefox to block autoplay, asking for permission by default.
pref("media.autoplay.default", 2); // 0=Allowed, 1=Blocked, 2=Prompt
In other words: just switching the 'media.autoplay.enabled' pref is not enough to block videos with sound from automatically playing. And it's not something we plan to implement.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → WONTFIX
Thank you for the update.
Follow the last instruction solve the issue.
If you are really on 63 these settings should get you a door hanger prompt:
// Switch block autoplay logic to v2, and enable UI.
pref("media.autoplay.enabled.user-gestures-needed", true);
// Allow asking for permission to autoplay to appear in UI.
pref("media.autoplay.ask-permission", true);
// Set Firefox to block autoplay, asking for permission by default.
pref("media.autoplay.default", 2); // 0=Allowed, 1=Blocked, 2=Prompt
I like so much that Firefox can ask with a notification before auto play content from a not visited yet website.
User can choose to remember the option for that site so the pop alert with the request of permission are not asked again.
I am asking why this is not on by default or there is no easy option to decide that on the user option of Firefox.
Having website that without alert start to play audio and video can consume Internet, disturb if you are in some sensible ambient, etc.
As user how I can know for example this:
pref("media.autoplay.default", 2); // 0=Allowed, 1=Blocked, 2=Prompt
0 is allowed, 1 blocked, 2 prompt ...
Anyway many thanks i will annotate this operation to do on all my Firefox installation... this is very great... autoplay video and audio start to be used on many website and start to be very annoying!
You need to log in
before you can comment on or make changes to this bug.
Description
•