HTML Audio/Video DOM autoplay Property
Enable autoplay, and reload video:
Try it yourself »
Definition and Usage
The autoplay property sets or returns if the audio/video should start playing as soon as it is loaded.
The autoplay property is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
Set the autoplay property:
Return the autoplay property:
|true||Indicates that the audio/video should start playing as soon as it is loaded|
|false||Default. Indicates that the audio/video should NOT start playing as soon as it is loaded|
|Return Value:||A Boolean. true|false|
HTML Audio/Video DOM Reference
Thank You For Helping Us!
Your message has been sent to W3Schools.