Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
autoplay directive controls whether the current document is allowed to
autoplay media requested through the
Specifically, where a defined policy blocks use of this feature and there were no user gestures, the
HTMLMediaElement.play() will reject with
autoplay attribute on
<video> elements will be ignored.
Note: For more details on autoplay and autoplay blocking, see the article Autoplay guide for media and Web Audio APIs.
A list of origins for which permission is granted to use the feature. See
Permissions-Policy> Syntax for more details.
The default allowlist for
|HTML Standard |
BCD tables only load in the browser