-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Restore autoplay on muted video by default or ask for user consent. #16557
Comments
Thanks for filing this ticket @rsepierre, we are working on #11325 to allow users to indicate their autoplay preference per site, and also addressing other related issues #8987 |
Hi @Amejia481 a'd thank you for your answer ! Say that site based authorisations and issues are fixed for fenix to have consistent behavior. Is the intent still to purposefuly block muted/silent video from autoplaying by default ? And if so, would there be any way the user know he is missing something ? (and thus maybe he would think by himself about whitelisting the website) and/or for the developper to prompt the user for consent ? (Just as you would for using the webcam or other APIs). As much as I think you should have the user's consent to impose something to the user (say autoplaying a video) |
Closing as a duplicate of #11027 |
Let's revise as the issue is more about web compatibility. |
@rsepierre I agree with you, we should change the default setting to just block audio content by default as we are doing in Firefox desktop, bellow the default setting on it. We are working on #11325 to allow users to indicate their autoplay preference per site, also be aware that we have a pending issue for autoplay that depends on this geckoview bug https://bugzilla.mozilla.org/show_bug.cgi?id=1647779 |
@rsepierre we are addressing the change here, in case you want to give some feedback :) |
Just FYI, this is of course causing webcompat reports, for instance https://webcompat.com/issues/61221 |
Verified on the Beta 89.0.0-beta.1 Build, and 4/22 Nightly with Samsung Galaxy Note 8 (Android 9), and Google Pixel (Android 10), on the reparofilms.com page, and on the bristolprintatelier.com, and here are my findings:
|
What is the user problem or growth opportunity you want to see solved?
Summary : The current Firefox for android state is by default to block video autoplay as a "global settings" (for all websites).
It is then most likely blocked for most if not all users.
Justification :
The last patch note signaling the an update to the "autoplay" feature dates back to firefox for android version 66.
https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/66
This update states that any media element with audio will be blocked. But this is not the current state of the feature as all media will be blocked by default whether they have an audio track, are muted, have the volume set to 0 or not.
Every piece of mozilla's documentation states that "muted media element" should auto-play.
Which might signify that the current state is either an oversight or a bug ?
Although it seems to be presented as a feature hidden in
Menu > Settings > Site Permissions > Automatically read media elements
List of problems :
How do you know that this problem exists today? Why is this important?
The consequences :
The current status is essentially killing the modern html5 autoplay feature accross the whole internet for any developper who cares about supporting fenix OR dooms the browser itself because developers won't bother to support it. This is especially true as all documentation, suggest that firefox perfectly support and enables autoplay (like MDN and caniuse.com).
Exemple of a website being worse because of it :
Giphy.com (arguably the biggest gif sharing website) is usualy using ".wepb" or ".mp4" video instead of GIFs. For firefox they have a fallback to use true GIF format. Making the website 10 to 100 times less data efficient on fenix than on other browsers.
Usecases in favor of supporting video autoplay :
Not all video on the web is used as a "film" with video, audio, a start, an end and ment to be watched in full.
Just as canvas and webgl the "video" element can be used as a "animated thing". While blocking "autoplay" may not be a problem, and could even be a feature for the most traditional use of videos or ads. By blocking autoplay by default unlike any competitor and by not providing any way for developpers to prompt users to consent to enable the feature on a website by website base, the case could be made that it is almost equivalent to removing the feature for all firefox mobile users altogether. If Firefox for android was to grow it's market share, developpers might stop using the autoplay feature accross the web, either abandonning their original idea or relying on less optimized technologies.
More on the subject:
Google's article on the consequences of disabling autoplay and why is it important for developpers to have accurate data on if they can use the feature or not :
https://developers.google.com/web/updates/2016/07/autoplay
Dev.com's article on important benefits of the feature over older technologies (not blocked by firefox) :
https://web.dev/replace-gifs-with-videos/
My pull request to MDN's browser compatibility data ( featured on caniuse.com - autoplay ) to add a note to notify developpers that firefox mobile users will most likely block autoplay element :
mdn/browser-compat-data#7356
Tested on : Firefox for android 82.1.3 (Build #2015774643)
Any solutions ?
Feature request:
Here is multiple ideas / ways we could improve the situation.
Alternatively
Who will benefit from it?
Developpers, users, mozilla
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: