Closed Bug 1817536 Opened 3 years ago Closed 3 years ago

Some Videos can Autoplay even when Firefox is set to Block Audio & Video

Categories

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

Firefox 111
Desktop
All
defect

Tracking

()

RESOLVED INVALID
Tracking Status
firefox-esr102 --- wontfix
firefox110 --- wontfix
firefox111 --- wontfix
firefox112 --- wontfix

People

(Reporter: bugzilla, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

  1. Make a new browser profile and in settings, set Autoplay to "Block Audio & Video".
  2. Visit a site like https://www.laptopmag.com/reviews/samsung-galaxy-book-3-pro-360
  3. Scroll down until you see the 'Recommended Videos For You' section and the video preview loads.
  4. Pretend to do other 'user activity' things like switching tabs, clicking on the page, scrolling the page, switching away from Firefox and back again. (I'm not sure exactly what triggers it yet but I've provided an example video.)

Actual results:

The video eventually autoplays.

Expected results:

Video should never have played.

Additional notes:

I'm not sure if this autoplay is happening after a certain amount of time has passed or when a trusted event such as mouse click has occurred. I'm also not entirely sure what the intended scope of autoplay blocking is supposed to be, so it would be nice for a dev to confirm that.

The framework used to play the video is called JWPlayer.

I was able to reproduce in 110.0 111.0b2.

Attached video Capture.mp4

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

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

Hi BoffinBrain, thanks for the report! I can reproduce this on my MacBook Pro by:

  1. opening https://www.laptopmag.com/reviews/samsung-galaxy-book-3-pro-360
  2. switch to another tab
  3. click a blank space on https://www.laptopmag.com/reviews/samsung-galaxy-book-3-pro-360
  4. switch to another tab again
  5. switch back to https://www.laptopmag.com/reviews/samsung-galaxy-book-3-pro-360

Hey Alastor, can you take a look?

Severity: -- → S4
Flags: needinfo?(alwu)

I've reproduced also the issue using the latest Nightly 112.0a1 and Firefox 110.0 on Windows 10 x64 and Ubuntu 22.04.
Setting as NEW.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop

In our default blocking autoplay policy, Firefox only blocks autoplay before a page get activated by user gestures (eg. click), which means after clicking on the page, Firefox won't block any autoplay then. See here for more details.

Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(alwu)
Resolution: --- → INVALID

OK, thanks for explaining the defined behaviour. That makes a lot more sense now.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: