Dynamic Delegation of Autoplay Capability

A tentative API to experiment with dynamic overrides for "autoplay" feature policy.

We want to support the use-case that a subframe can't use "autoplay" by default but the top frame can temporarily allow the subframe to autoplay whenever it (the top frame) wants. One particular use case we have is that the user clicks on a "play" button on the top frame, which would notify the subframe to play a video. Until the top frame notifies that subframe (possibly through a postMessage), the subframe won't be able to start the playback. Additionally, the top frame could later disallow autoplaying in the subframe after first allowing it.

Demo

Documentation

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2019-07-19