Closed Bug 1512362 Opened 2 years ago Closed 2 years ago
Should not allow video-without-audio-track to autoplay when pref "media
47 bytes, text/x-phabricator-request
|Details | Review|
1. Set media.autoplay.allow-muted;false 2. Visit any Gizmodo Family Website. 3. Revoke Permission "Autoplay Media With Sound". 3. Scroll to a Gizmodo video entry. The video plays regardless of the setting.
Matthew, can you triage this?
While trying to repro this, I wasn't served any autoplaying video content when I tried scrolling through gizmodo.com.au's front page until I hit the "end" (page 5 shown in the location bar, a button to load more content appears). Visiting jalopnik.com, I'm shown a video under "Recent Videos" that begins autoplaying only if I scroll it out of view and back into view. If I also toggle media.autoplay.enabled.user-gestures-needed to false, it never starts autoplaying. It seems unexpected that scrolling would be considered a user intention to allow the video to play, but I'm not familiar with the autoplay blocking policy. I'll needinfo Alastor to get his input.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(kinetik) → needinfo?(alwu)
Priority: -- → P3
This issue is because we didn't check the pref "media.autoplay.allow-muted" when decide whether video without audio track can autoplay.
Assignee: nobody → alwu
Summary: Jw Player bypasses autoplay permission → Should not allow video-without-audio-track to autoplay when pref "media.autoplay.allow-muted=false"
When talking about autoplay, video without audio track should also be controlled by the pref "media.autoplay.allow-muted".
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/dc450ef62331 hook pref "media.autoplay.allow-muted" to all inaudible autoplay media policy r=cpearce
You need to log in before you can comment on or make changes to this bug.