#810: Autoplay Policy Detection API
Discussions
2023-02-13
Amy: Lea and I reviewed at the f2f... left a comment.
Dan: Sangwhan set it to proposed closed.
Amy: I think we can close this as satisfied.
Amy: Lea and I reviewed at the f2f... left a comment.
Dan: Sangwhan set it to proposed closed.
Amy: I think we can close this as satisfied.
OpenedJan 27, 2023
Wotcher TAG!
I'm requesting a TAG review of Autoplay Policy Detection API.
Most user agents have their own mechanisms to block autoplaying media, and those mechanisms are implementation-specific. Web developers need to have a way to detect if autoplaying media is allowed or not in order to make actions, such as selecting alternate content or improving the user experience while media is not allowed to autoplay. For instance, if a user agent only blocks audible autoplay, then web developers can replace audible media with inaudible media to keep media playing, instead of showing a blocked media which looks like a still image to users. If the user agent does not allow any autoplay media, then web developers could stop loading media resources and related tasks to save the bandwidth and CPU usage for users.
Further details:
You should also know that this API was already implemented in Firefox, which is currently only enabled on Nightly channel and haven't been pushed on the Release channel yet. Safari and Chrome expressed the interest during the past discussions but haven't express an explicit timeline when they would start prototyping this spec.
We'd prefer the TAG provide feedback as (please delete all but the desired option):
🐛 open issues in our GitHub repo for each point of feedback