Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] Blocking of autoplay videos does not work as expected #8987

Closed
elonus opened this issue Mar 5, 2020 · 7 comments
Closed

[Bug] Blocking of autoplay videos does not work as expected #8987

elonus opened this issue Mar 5, 2020 · 7 comments
Assignees
Labels
🐞 bug Crashes, Something isn't working, .. E8 Estimation Point: about 8 days eng:qa:verified QA Verified Feature:Media S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist

Comments

@elonus
Copy link

elonus commented Mar 5, 2020

Steps to reproduce

Open Firefox Preview Nightly.
Under settings -> permissions, enable blocking of autoplaying video and audio.
Open www.nrk.no and scroll down until you find a autoplaying video.

Expected behavior

I would expect that the video would be prevented from autoplaying

Actual behavior

The video autoplays, however the sound is disabled. I am however unsure if this is because Fenix is blocking it or if nrk is being considerate and having it by default disabled.

Device information

  • Android device: OnePlus 7t
  • Fenix version: Nightly 200304 06:01 (Build #20640607)

┆Issue is synchronized with this Jira Task

@elonus elonus added the 🐞 bug Crashes, Something isn't working, .. label Mar 5, 2020
@github-actions github-actions bot added the needs:triage Issue needs triage label Mar 5, 2020
@Amejia481
Copy link
Contributor

This happened because at the moment we are not disabling autoplay for muted content. We are working on an advance settings for autoplay for more info see #8017

@sv-ohorvath
Copy link
Contributor

Now the auto-play videos on nrk.no are always blocked for me (no matter which setting I have), but on twitter.com they are not being blocked with Block video and audio set.

@sv-ohorvath sv-ohorvath added Feature:Media S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist and removed needs:triage Issue needs triage labels Jul 31, 2020
@sv-ohorvath sv-ohorvath changed the title [Bug] Blocking of autoplay videos does not work on www.nrk.no [Bug] Blocking of autoplay videos does not work as expected Jul 31, 2020
@Iey4iej3
Copy link

Iey4iej3 commented Oct 5, 2020

I don't know whether it is related. In some sites, no matter where I click on the webpage, the media will start to play. For example,
https://www.lachainemeteo.com/meteo-france/ville-33/previsions-meteo-paris-aujourdhui
This is also bad. I consider this as a variant of autoplay.

@Amejia481
Copy link
Contributor

I was doing some tests on www.nrk.no, from a user perspective no video/audio was played while I was testing. I also tested on Firefox desktop (with allow video/audio) and Chrome and neither browser video or audio played, not sure if the site has changed its behaviour so far. From code perspective, I saw the permissions for ContentAutoPlayInaudible andContentAutoPlayAudible requested and allowed/denied depending on the settings on Fenix.

@elonus
Copy link
Author

elonus commented Nov 4, 2020

Thanks for looking into this! I think www.nrk.no might have changed the behaviour of their videos as I no longer see any autoplay, neither with blocking enabled nor disabled.

@Amejia481
Copy link
Contributor

The issue is address on mozilla-mobile/android-components#8944 and will be fixed when Fenix update to the new ac version.

@abodea
Copy link
Member

abodea commented Nov 17, 2020

Verified as fixed on the latest Nightly 17/11 with Google Pixel 4 XL (Android 11).
Note that the auto-play was blocked and when tapping on the play button everything works as expected and the video/audio started to play.

@abodea abodea closed this as completed Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. E8 Estimation Point: about 8 days eng:qa:verified QA Verified Feature:Media S2 Major Functionality/product severely impaired and a satisfactory workaround doesn't exist
Projects
None yet
Development

No branches or pull requests

6 participants