MediaAutoplayPolicy Enum
Whether the media elements are allowed to play without a user gesture (BrowsingContextOptions.MediaAutoplayPolicy).
public enum MediaAutoplayPolicyFields
| Name | Value | Description |
|---|---|---|
Allowed | 0 | The media elements are always allowed to play: play() and the autoplay attribute start the playback. |
UserActivationRequired | 1 | The media elements are allowed to play when they are muted, or once the user interacted with the page (its window has sticky activation): otherwise play() is rejected with a NotAllowedError and the autoplay attribute does not start the playback. |