This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
* Some parts of this feature may have varying levels of support.
The HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video.
The HTMLVideoElement and HTMLAudioElement elements both inherit this interface.
This interface also inherits properties from its ancestors HTMLElement, Element, Node, and EventTarget.
HTMLMediaElement.audioTracks Read only
An AudioTrackList that lists the AudioTrack objects contained in the element.
HTMLMediaElement.autoplayA boolean value that reflects the autoplay HTML attribute, indicating whether playback should automatically begin as soon as enough media is available to do so without interruption.
Note: Automatically playing audio when the user doesn't expect or desire it is a poor user experience and should be avoided in most cases, though there are exceptions. See the Autoplay guide for media and Web Audio APIs for more information. Keep in mind that browsers may ignore autoplay requests, so you should ensure that your code isn't dependent on autoplay working.
HTMLMediaElement.buffered Read only
Returns a TimeRanges object that indicates the ranges of the media source that the browser has buffered (if any) at the moment the buffered property is accessed.
HTMLMediaElement.controlsA boolean that reflects the controls HTML attribute, indicating whether user interface items for controlling the resource should be displayed.
HTMLMediaElement.controlsListReturns a DOMTokenList that helps the user agent select what controls to show on the media element whenever the user agent shows its own set of controls. The DOMTokenList takes one or more of three possible values: nodownload, nofullscreen, and noremoteplayback.
HTMLMediaElement.crossOriginA string indicating the CORS setting for this media element.
HTMLMediaElement.currentSrc Read only
Returns a string with the absolute URL of the chosen media resource.
HTMLMediaElement.currentTimeA double-precision floating-point value indicating the current playback time in seconds; if the media has not started to play and has not been seeked, this value is the media's initial playback time. Setting this value seeks the media to the new time. The time is specified relative to the media's timeline.
HTMLMediaElement.defaultMutedA boolean that reflects the muted HTML attribute, which indicates whether the media element's audio output should be muted by default.
HTMLMediaElement.defaultPlaybackRateA double indicating the default playback rate for the media.
HTMLMediaElement.disableRemotePlaybackA boolean that sets or returns the remote playback state, indicating whether the media element is allowed to have a remote playback UI.
HTMLMediaElement.duration Read only
A read-only double-precision floating-point value indicating the total duration of the media in seconds. If no media data is available, the returned value is NaN. If the media is of indefinite length (such as streamed live media, a WebRTC call's media, or similar), the value is Infinity.
HTMLMediaElement.ended Read only
Returns a boolean that indicates whether the media element has finished playing.
HTMLMediaElement.error Read only
Returns a MediaError object for the most recent error, or null if there has not been an error.
HTMLMediaElement.loopA boolean that reflects the loop HTML attribute, which indicates whether the media element should start over when it reaches the end.
HTMLMediaElement.mediaKeys Read only Secure context
Returns a MediaKeys object, that is a set of keys that the element can use for decryption of media data during playback. If no key is available, it can be null.
HTMLMediaElement.mutedA boolean that determines whether audio is muted. true if the audio is muted and false otherwise.
HTMLMediaElement.networkState Read only
Returns a unsigned short (enumeration) indicating the current state of fetching the media over the network.
HTMLMediaElement.paused Read only
Returns a boolean that indicates whether the media element is paused.
HTMLMediaElement.playbackRateA double that indicates the rate at which the media is being played back.
HTMLMediaElement.played Read only
Returns a TimeRanges object that contains the ranges of the media source that the browser has played, if any.
HTMLMediaElement.preloadA string that reflects the preload HTML attribute, indicating what data should be preloaded, if any. Possible values are: none, metadata, auto.
HTMLMediaElement.preservesPitchA boolean value that determines if the pitch of the sound will be preserved. If set to false, the pitch will adjust to the speed of the audio.
HTMLMediaElement.readyState Read only
Returns a unsigned short (enumeration) indicating the readiness state of the media.
HTMLMediaElement.remote Read only
Return a RemotePlayback object instance associated with the media element.
HTMLMediaElement.seekable Read only
Returns a TimeRanges object that contains the time ranges that the user is able to seek to, if any.
HTMLMediaElement.seeking Read only
Returns a boolean that indicates whether the media is in the process of seeking to a new position.
HTMLMediaElement.sinkId Read only Secure context
Returns a string that is the unique ID of the audio device delivering output, or an empty string if the user agent default audio device is being used.
HTMLMediaElement.srcA string that reflects the src HTML attribute, which contains the URL of a media resource to use.
HTMLMediaElement.srcObjectAn object which serves as the source of the media associated with the HTMLMediaElement, or null if not assigned.
HTMLMediaElement.textTracks Read only
Returns a TextTrackList object containing the list of TextTrack objects contained in the element.
HTMLMediaElement.videoTracks Read only
Returns a VideoTrackList object containing the list of VideoTrack objects contained in the element.
HTMLMediaElement.volumeA double indicating the audio volume, from 0.0 (silent) to 1.0 (loudest).
These properties are obsolete and should not be used, even if a browser still supports them.
HTMLMediaElement.controller Deprecated Non-standard
A MediaController object that represents the media controller assigned to the element, or null if none is assigned.
HTMLMediaElement.mediaGroup Deprecated Non-standard
A string that reflects the mediagroup HTML attribute, which indicates the name of the group of elements it belongs to. A group of media elements shares a common MediaController.
HTMLMediaElement.mozAudioCaptured Read only Non-standard Deprecated
Returns a boolean. Related to audio stream capture.
HTMLMediaElement.mozFragmentEnd Non-standard Deprecated
A double that provides access to the fragment end time if the media element has a fragment URI for currentSrc, otherwise it is equal to the media duration.
This interface also inherits methods from its ancestors HTMLElement, Element, Node, and EventTarget.
HTMLMediaElement.addTextTrack()Adds a new TextTrack object (such as a track for subtitles) to a media element. This is a programmatic interface only and does not affect the DOM.
HTMLMediaElement.captureStream()Returns MediaStream, captures a stream of the media content.
HTMLMediaElement.canPlayType()Given a string specifying a MIME media type (potentially with the codecs parameter included), canPlayType() returns the string probably if the media should be playable, maybe if there's not enough information to determine whether the media will play or not, or an empty string if the media cannot be played.
HTMLMediaElement.fastSeek()Quickly seeks to the given time with low precision.
HTMLMediaElement.load()Resets the media to the beginning and selects the best available source from the sources provided using the src attribute or the <source> element.
HTMLMediaElement.pause()Pauses the media playback.
HTMLMediaElement.play()Begins playback of the media.
HTMLMediaElement.seekToNextFrame() Deprecated Non-standard
Seeks to the next frame in the media. This non-standard, experimental method makes it possible to manually drive reading and rendering of media at a custom speed, or to move through the media frame-by-frame to perform filtering or other operations.
HTMLMediaElement.setMediaKeys() Secure context
Returns Promise. Sets the MediaKeys keys to use when decrypting media during playback.
HTMLMediaElement.setSinkId() Secure context
Sets the ID of the audio device to use for output and returns a Promise. This only works when the application is authorized to use the specified device.
These methods are obsolete and should not be used, even if a browser still supports them.
HTMLMediaElement.mozCaptureStream() Non-standard
The Firefox-prefixed equivalent of HTMLMediaElement.captureStream(). See its browser compatibility for details.
HTMLMediaElement.mozCaptureStreamUntilEnded() Non-standard Deprecated
[enter description]
HTMLMediaElement.mozGetMetadata() Non-standard Deprecated
Returns Object, which contains properties that represent metadata from the playing media resource as {key: value} pairs. A separate copy of the data is returned each time the method is called. This method must be called after the loadedmetadata event fires.
Inherits events from its parent, HTMLElement.
Listen to these events using addEventListener() or by assigning an event listener to the oneventname property of this interface.
abortFired when the resource was not fully loaded, but not as the result of an error.
canplayFired when the user agent can play the media, but estimates that not enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
canplaythroughFired when the user agent can play the media, and estimates that enough data has been loaded to play the media up to its end without having to stop for further buffering of content.
durationchangeFired when the duration property has been updated.
emptiedFired when the media has become empty; for example, when the media has already been loaded (or partially loaded), and the HTMLMediaElement.load() method is called to reload it.
encryptedFired when initialization data is found in the media that indicates the media is encrypted.
endedFired when playback stops when end of the media (<audio> or <video>) is reached or because no further data is available.
errorFired when the resource could not be loaded due to an error.
loadeddataFired when the first frame of the media has finished loading.
loadedmetadataFired when the metadata has been loaded.
loadstartFired when the browser has started to load a resource.
pauseFired when a request to pause play is handled and the activity has entered its paused state, most commonly occurring when the media's HTMLMediaElement.pause() method is called.
playFired when the paused property is changed from true to false, as a result of the HTMLMediaElement.play() method, or the autoplay attribute.
playingFired when playback is ready to start after having been paused or delayed due to lack of data.
progressFired periodically as the browser loads a resource.
ratechangeFired when the playback rate has changed.
seekedFired when a seek operation completes.
seekingFired when a seek operation begins.
stalledFired when the user agent is trying to fetch media data, but data is unexpectedly not forthcoming.
suspendFired when the media data loading has been suspended.
timeupdateFired when the time indicated by the currentTime property has been updated.
volumechangeFired when the volume has changed.
waitingFired when playback has stopped because of a temporary lack of data.
waitingforkeyFired when playback is first blocked while waiting for a key.
| Specification |
|---|
| HTML> # htmlmediaelement> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
HTMLMediaElement |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 3 | 3 |
abort_event |
3 | 12 | 9 | ≤12.1 | 3.1 | 18 | 9 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
addTextTrack |
2326 | 12 | 31 | ≤12.1 | 6 | 2526 | 31 | ≤12.1 | 6 | 1.51.5 | 4.44.4 | 6 |
audioTracks |
37 | 7912–79 | 33 | 24 | 7 | 37 | No | No | 7 | No | No | 7 |
autoplay |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
buffered |
3 | 12 | 4 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
canPlayType |
3["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
12["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
3.5["Before Firefox 28,canPlayType() returned probably when asked about WebM audio or video files without the codecs parameter. Since multiple codecs are supported, this is not enough information to determine if a file can be played, so maybe is now correctly returned.", "Before Firefox 101, canPlayType() ignored codecs parameter options for av01 codecs (treating them as av1)."] |
≤12.1["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
4 | 18["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
4["Before Firefox for Android 28,canPlayType() returned probably when asked about WebM audio or video files without the codecs parameter. Since multiple codecs are supported, this is not enough information to determine if a file can be played, so maybe is now correctly returned.", "Before Firefox for Android 101, canPlayType() ignored codecs parameter options for av01 codecs (treating them as av1)."] |
≤12.1["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
3 | 1.0["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
4.4["codecs string can contain any subset of optional parameters (should be all or none).", "Errors if codecs string contains unexpected characters (should evaluate string up to character)."] |
3 |
canplay_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
canplaythrough_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
captureStream |
62 | 79 | 15 | 49 | No | 62 | 15 | 46 | No | 8.0 | 62 | No |
controller |
17–36 | No | No | 15–23 | 6 | 18–36 | No | 14–24 | 6 | 1.0–3.0 | 4.4–37 | 6 |
controls |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
controlsList |
58 | 79 | No | 45 | No | 58 | No | 43 | No | 7.0 | 58 | No |
crossOrigin |
33 | 13 | 2212–22 | 20 | 10 | 33 | 2214–22 | 20 | 10 | 2.0 | 4.4.3 | 10 |
currentSrc |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
currentTime |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
defaultMuted |
15 | 12 | 11 | ≤12.1 | 6 | 18 | 14 | ≤12.1 | 6 | 1.0 | 4.4 | 6 |
defaultPlaybackRate |
3 | 12 | 20 | ≤12.1 | 3.1 | 18 | 20 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
disableRemotePlayback |
121 | 121 | No | 107 | 13.1 | 56 | No | 43 | 13 | 6.0 | No | 13 |
duration |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
durationchange_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
emptied_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
encrypted_event |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 42 | 12.2 |
ended |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
ended_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
error |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
error_event |
3 | 12 | 6 | 11.6 | 3.1 | 18 | 6 | 12 | 3 | 1.0 | 4.4 | 3 |
fastSeek |
No | No | 31 | No | 8 | No | 31 | No | 8 | No | No | 8 |
getStartDate |
No | No | No | No | 9 | No | No | No | 9 | No | No | 9 |
load |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
loadeddata_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
loadedmetadata_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
loadstart_event |
3 | 12 | 6 | ≤12.1 | 4 | 18 | 6 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
loop |
3 | 12 | 11 | ≤12.1 | 4 | 18 | 14 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
mediaGroup |
17–36 | No | No | 15–23 | 6 | 18–36 | No | 14–24 | 6 | 1.0–3.0 | 4.4–37 | 6 |
mediaKeys |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 42 | 12.2 |
mozAudioCaptured |
No | No | 15 | No | No | No | 15 | No | No | No | No | No |
mozCaptureStreamUntilEnded |
No | No | 15 | No | No | No | 15 | No | No | No | No | No |
mozFragmentEnd |
No | No | 9 | No | No | No | 9 | No | No | No | No | No |
mozGetMetadata |
No | No | 17 | No | No | No | 17 | No | No | No | No | No |
muted |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
networkState |
3 | 12 | 3.5TheNETWORK_LOADED state was removed to align with the HTML spec in Firefox 4. |
≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
pause |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
pause_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
paused |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
play |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
play_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
playbackRate |
3Setting theplaybackRate to a negative value will throw an error. |
12Setting theplaybackRate to a negative value will throw an error. |
20Setting theplaybackRate to a negative value will throw an error. |
≤12.1Setting theplaybackRate to a negative value will throw an error. |
3.1 | 18Setting theplaybackRate to a negative value will throw an error. |
20Setting theplaybackRate to a negative value will throw an error. |
≤12.1Setting theplaybackRate to a negative value will throw an error. |
3 | 1.0Setting theplaybackRate to a negative value will throw an error. |
4.4Setting theplaybackRate to a negative value will throw an error. |
3 |
played |
3 | 12 | 15 | ≤12.1 | 3.1 | 18 | 15 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
playing_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
preload |
5 | 12 | 4 | ≤12.1 | 5 | 18 | 4 | ≤12.1 | 5 | 1.0 | 3 | 5 |
preservesPitch |
86 | 86 | 101 | 72 | 17.24 | 86 | 101 | 61 | 17.23.2 | 14.0 | 86 | 17.23.2 |
progress_event |
3 | 12 | 6 | ≤12.1 | 3.1 | 18 | 6 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
ratechange_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
readyState |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
remote |
121 | 121 | No | 107 | 13.1 | 56 | No | 43 | 13.4 | 6.0 | No | 13.4 |
seekToNextFrame |
No | No | 56–128 | No | No | No | 56–128 | No | No | No | No | No |
seekable |
3 | 12 | 8 | ≤12.1 | 3.1 | 18 | 8 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
seeked_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
seeking |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
seeking_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
setMediaKeys |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 42 | 12.2 |
setSinkId |
49 | 17 | 116 | 36 | 18.4 | NoNot available due to a limitation in Android, see bug 41276355. |
NoNot available due to a limitation in Android, see bug 1473346. |
NoNot available due to a limitation in Android, see bug 41276355. |
18.4 | NoNot available due to a limitation in Android, see bug 41276355. |
NoNot available due to a limitation in Android, see bug 41276355. |
18.4 |
sinkId |
49 | 17 | 116 | 36 | 18.4 | NoNot available due to a limitation in Android, see bug 41276355. |
NoNot available due to a limitation in Android, see bug 1473346. |
NoNot available due to a limitation in Android, see bug 41276355. |
18.4 | NoNot available due to a limitation in Android, see bug 41276355. |
NoNot available due to a limitation in Android, see bug 41276355. |
18.4 |
src |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
srcObject |
108Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
108Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
18–58 |
94Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
11 |
108Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
18–58 |
73Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
11 |
21.0Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
108Support added forMediaSourceHandle objects transferred from dedicated workers where they were obtained from MediaSource.handle (see bug 40591101). |
11 |
stalled_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
suspend_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
textTracks |
23 | 12 | 31 | ≤12.1 | 6 | 25 | 31 | ≤12.1 | 6 | 1.0 | 4.4 | 6 |
timeupdate_event |
3 | 12 | 3.5 | 10.5 | 3.1 | 18 | 4 | 11 | 3 | 1.0 | 4.4 | 3 |
videoTracks |
37 | 7912–79 | 33 | 24 | 7 | 37 | No | No | 7 | No | No | 7 |
volume |
3 | 12 | 3.5 | ≤12.1 | 3.1 | 18 | 4 | ≤12.1 | 3volume returns a value and is writable; however, the value is always 1, and setting a value has no effect on the volume of the media object. |
1.0 | 4.4 | 3volume returns a value and is writable; however, the value is always 1, and setting a value has no effect on the volume of the media object. |
volumechange_event |
3 | 12 | 6 | ≤12.1 | 3.1 | 18 | 6 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
waiting_event |
3 | 12 | 6 | ≤12.1 | 3.1 | 18 | 6 | ≤12.1 | 3 | 1.0 | 4.4 | 3 |
waitingforkey_event |
55 | 79 | 13352–133Theonwaitingforkey event handler property is not supported. |
42 | 12.1 | 55 | 13352–133Theonwaitingforkey event handler property is not supported. |
42 | 12.2 | 6.0 | 55 | 12.2 |
<video> and <audio> HTML elementsHTMLVideoElement and HTMLAudioElement interfaces, derived from HTMLMediaElement
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement