autoplay directive controls whether the current document is allowed to
autoplay media requested through the
When this policy is enabled and there were no user gestures, the
HTMLMediaElement.play() will reject with
autoplay attribute on
<video> elements will be ignored.
For more details on autoplay and autoplay blocking, see the article Autoplay guide for media and Web Audio APIs.
Feature-Policy: autoplay <allowlist>;
- A list of origins for which the feature is allowed. See
The default value in Google Chrome is
|HTML Standard (HTML)|
BCD tables only load in the browser