Closed Bug 1637934 Opened 4 years ago Closed 4 years ago

disallowing autoplay works inconsistently

Categories

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

76 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ndlarsen, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

Went to settings -> privacy & security -> permissions -> autoplay
Changed "default for all websites" to "block audio and video"
Example site: https://docs.cypress.io/guides/getting-started/writing-your-first-test.html#Add-a-test-file
Firefox version: 76.0.1 (64-bit) on Ubuntu 18.04

Actual results:

Firefox inconsistently blocks video.
In cases where there are more than one video, for some both audio and video are blocked, for others only audio is blocked.

Expected results:

Firefox should consistently block both audio and video for all videos across all sites.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

From your description, my guess is that you've clicked on the page which activate the page while you were browsing that page. So since then, we allow other videos to start playing, which make you feel inconsistent.

However, it meets our expectation, because the default policy we use is sticky user gesture activation which would only block autoplay before the page is activated by the user gesture. You can find more details in our autoplay policy document [1].

[1] https://docs.google.com/document/d/1p81bYntlLMTxXoANnQXS9KH0TZ4y8aKKeH9x3GVS3eY/edit#heading=h.k3q4co83ntet

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.