Closed Bug 1811610 Opened 2 years ago Closed 10 months ago

Autoplay does not block video

Categories

(Fenix :: Media, defect, P2)

All
Android
defect

Tracking

(firefox119 wontfix, firefox120 wontfix, firefox121 affected, firefox122 affected)

RESOLVED WORKSFORME
Tracking Status
firefox119 --- wontfix
firefox120 --- wontfix
firefox121 --- affected
firefox122 --- affected

People

(Reporter: csadilek, Unassigned)

References

Details

(Whiteboard: [fxdroid] [group4])

From github: https://github.com/mozilla-mobile/fenix/issues/22238.

Steps to reproduce

From a first run copy of Fenix

Set Autoplay in the permissions to "Block audio and video
Open https://www.livescience.com/mars-rover-perseverance-back-to-work-photos
Scroll down to "RECOMMENDED VIDEOS FOR YOU..."

Expected behaviour

Video should not play

Actual behaviour

Video plays

Device name

Motorola Moto E5

Android version

Android 8

Firefox release type

Firefox

Firefox version

93.2.0

Device logs

No response

Additional information

User feedback: https://support.mozilla.org/en-US/questions/1355725

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

The severity field is not set for this bug.
:cpeterson, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(cpeterson)

I am also experiencing this issue on Instagram, as well as https://www.androidpolice.com/google-pixel-fingerprint-scanner-problems-workaround/

Firefox 113.2.0, Android 13

Flags: needinfo?(cpeterson)

Hello,

I also have this issue on major news websites located in France: https://www.lemonde.fr/ ; https://www.lefigaro.fr/

I have also set the option as indicated.

I am on a limited data plan so videos being automatically downloaded and playing are a trouble...

Latest Firefox version on Android 13.

Please look into this :-)

Mathieu

Thanks for testing. I'll update the bug flags.

I can reproduce in Firefox 119. I set my Autoplay permissions to "Block audio and video", but the video and audio both auto-play when I load https://www.lemonde.fr/planete/video/2023/11/02/de-la-bretagne-au-nord-de-la-france-les-images-de-la-tempete-ciaran_6197877_3244.html

Does "Block audio and video" work correctly for you on other sites? I wonder if this is a Firefox bug or if these sites are somehow working around the auto-play restriction.

Component: General → Media
Product: Fenix → GeckoView

With the current Firefox Beta for Android, i.e.
120.0b5 (Build #2015983402), 2fb64f0f31+
GV: 120.0-20231101092803
AS: 120.0.1
2023-11-01T21:28:27.750973259
this URL does not autoplay on my phone. Has anything been fixed for autoplay?

Hey Chris, are you still able to reproduce this on 120+?

Flags: needinfo?(cpeterson)
Priority: -- → P2

With "Block audio and video" enabled, I can still reproduce the bug in Release 119 and Beta 120.0b8, but not Nightly 121.

I don't know why I can reproduce the bug in 120.0b8 (and 121) when it works correctly for Vincent in 120.0b5. I doubt this bug was fixed in Nightly 120, but then somehow reintroduced in Beta 120.0b8 but not Nightly 121?? Seems more likely that this is an intermittent bug or I didn't configure my block settings the same in my Beta and Nightly profiles.

As for next steps, maybe we should test again when 120 hits the Release channel in two weeks (Nov 21). I'll check back then...

Flags: needinfo?(cpeterson)

Could we verify 121 when it goes into beta/release?

Severity: -- → S3
Flags: qe-verify+

This issue is still reproducible on the latest Beta 121.0b1.
I also managed to reproduce it on the latest Nightly for 121, from 2023-11-20 (The video from https://www.lemonde.fr/planete/video/2023/11/02/de-la-bretagne-au-nord-de-la-france-les-images-de-la-tempete-ciaran_6197877_3244.html doesn't load at first but with a short pause it automatically retries and the video plays).
Same with the latest Nightly build (122.0a1 from 2023-11-21).
Devices used: Samsung Galaxy S23 Ultra and Samsung Galaxy Tab A7 (Android 13).

Flags: qe-verify+
QA Whiteboard: [qa-triaged]

With FF 122.0b9 (Build #2015997175), despite "Block audio and video", Firefox plays the video at the following URL with audio on (with sound): https://www.europe1.fr/societe/blocages-routiers-en-occitanie-explosion-a-carcassonne-les-agriculteurs-en-colere-4226100?at_medium=Fan+Page&at_campaign=Twitter&at_creation=Europe+1

Product: GeckoView → Fenix
Whiteboard: [fxdroid] [group4]
See Also: → 1888977

I was able to reproduce the autoplay not working for mentioned sites above, but once you update the about:config settings for media.autoplay.blocking_policy, the videos are blocked. By default, autoplay is activated by any user gestures including accepting or declining cookie banners. You can read more about the policy here: https://wiki.mozilla.org/Media/block-autoplay#What_strategy_does_Firefox_use_for_blocking_autoplay.3F

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