Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
https://html.spec.whatwg.org/multipage/media.html#htmlmediaelement This object also emits few custom events other than standard events described in w3c specification. “playbackstarted” : event sent to the client when MediaPlayer start the playback “audiofocusgranted”: event sent to the client when MediaPlayer resumes the playback internally on obtaining the audio focus. “audiofocuspaused” : event sent to the client when MediaPlayer pauses the playback internally on loosing the audio focus temporarily. “audiofocuslost” : event sent to the client when MediaPlayer pauses the playback internally on loosing the audio focus permanantly.

Extends

Constructors

new HTMLVideoElement()

new HTMLVideoElement(): HTMLVideoElement

Returns

HTMLVideoElement

Inherited from

HTMLMediaElement.constructor

Properties

audioTracks

abstract readonly audioTracks: AudioTrackList Gets the list of audio tracks. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-audiotracks.

Inherited from

HTMLMediaElement.audioTracks

autoplay

abstract autoplay: boolean If set to true, automatically starts the playback when the URL is loaded. If set to false, the app must call play explicitly to start playback. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-media-autoplay.

Inherited from

HTMLMediaElement.autoplay
Last modified on February 25, 2026