Closed Bug 1437308 Opened 6 years ago Closed 6 years ago

Disabling media autoplay incorrectly lets USA Today autoplay

Categories

(Core :: Audio/Video: Playback, defect, P3)

defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox60 --- affected

People

(Reporter: yoasif, Unassigned)

References

()

Details

(Keywords: nightly-community)

Steps to reproduce:

1. set media.autoplay.enabled;false and media.autoplay.enabled.user-gestures-needed;true
2. Navigate to https://www.usatoday.com/story/news/nation/2018/02/10/couple-sells-everything-sailboat-sinks/326152002/

Actual results:

Ad autoplays, video autoplays.

Expected results:

Videos do not play without user user asking for them to play.
Has STR: --- → yes
Priority: -- → P3
On that page, I think the issue it this: the preference 

media.autoplay.enabled.user-gestures-needed => true 

allows **muted** videos to autoplay. That is by design, i.e., they are not considered "annoying" for purposes of that preference.

* https://dxr.mozilla.org/mozilla-central/source/dom/media/AutoplayPolicy.cpp#50
* https://bugzilla.mozilla.org/show_bug.cgi?id=1415478
As pointed out in comment 1, this is the intended behaviour. You can try setting media.autoplay.allow-muted=false in about:config if you want muted autoplay also blocked.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.