HTMLMediaElement는 오디오와 비디오에 통용되는 미디어 관련 확장성을 제공하기 위해 HTMLElement에 메소드와 프로퍼티를 추가한 인터페이스입니다. HTMLVideoElementHTMLAudioElement 는 이 인터페이스를 상속합니다.

속성(Properties)

이 인터페이스는 HTMLElement, Element, Node, and EventTarget의 프로퍼티들도 모두 상속합니다.

HTMLMediaElement.audioTracks
AudioTrackList는 엘레먼트의 AudioTrack 객체의 목록입니다.
HTMLMediaElement.autoplay
미디어가 준비된 즉시 재생할 것인지 결정하는 autoplay 속성에 연결된 Boolean값입니다..
Note: 오디오(또는 오디오가 있는 비디오)를 자동으로 재생하는 사이트는 사용자에게 그리 탐탁치 않은 경험일 수 있습니다, 그러므로 가능한 한 지양해야합니다. 자동 재생 기능을 제공하려면, 사전 동의(사용자에게 기능을 켜도록 함)를 받아야 합니다. 의외로 이 점은 사용자의 조작에 의해 미디어 엘레먼츠를 늦게 생성하는 경우 유용할 수 있습니다.
HTMLMediaElement.buffered Read only
buffered 프로퍼티에 접근한 시점에 브라우저가 버퍼에 담고 있는 미디어 소스의 구간 데이터를 나타내는 TimeRanges 객체를 반환합니다.
HTMLMediaElement.controller
미디어 엘레먼트에 할당된 MediaController 객체를 반환하거나 없다면 null을 반환합니다.
HTMLMediaElement.controls
미디어 엘레먼트에 컨트롤를 표시할지 결정하는 controls HTML 속성 값을 Boolean으로 반환합니다.
HTMLMediaElement.controlsList Read only
브라우저가 미디어 엘레먼트에 자체 컨트롤을 표시할 때 어떤 컨트롤을 보여주거나 숨길 지 결정하는 DOMTokenList를 반환합니다. . DOMTokenList는 nodownload, nofullscreennoremoteplayback 값을 가질 수 있습니다.
HTMLMediaElement.crossOrigin
DOMString미디어 엘레먼트의 CORS 설정값을 반환합니다.
HTMLMediaElement.currentSrc Read only
현재 선택된 미디어 소스 URL의 절대 경로를 DOMString로 반환합니다.
HTMLMediaElement.currentTime
현재 재생 시점을 초 단위로 표현한 double값입니다. 이 값을 세팅하여 재생 시점을 변경할 수 있습니다.
HTMLMediaElement.defaultMuted
Boolean 기본적으로 음소거 상태인지 표시하는 muted HTML 속성 값을 Boolean으로 반환합니다.
HTMLMediaElement.defaultPlaybackRate
미디어 기본 재생 배속을 double 값으로 반환합니다.
HTMLMediaElement.disableRemotePlayback
Is a 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
미디어의 전체 길이를 초 단위로 double 값으로 반환합니다. 재생 가능한 미디어가 없을 경우 0을 반환합니다.
HTMLMediaElement.ended Read only
미디어 재생 완료 여부를 Boolean 값으로 반환합니다.
HTMLMediaElement.error Read only
마지막으로 발생한 MediaError 객체를 반환합니다. 발생한 에러가 없을 경우 null을 반환합니다.
HTMLMediaElement.loop
미디어의 반복 재생을 결정하는 HTML 속성 loop 값을Boolean으로 반환합니다.
HTMLMediaElement.mediaGroup
미디어가 속한 그룹을 나타내는 mediagroup 속성을 DOMString 값으로 반환합니다. 같은 그룹에 속한 미디어들은 동일한  MediaController에 의해 제어됩니다.
HTMLMediaElement.mediaKeys Read only
MediaKeys 객체 또는 null을 반환합니다. MediaKeys는 재생할 미디어 데이터를 복호화 하는데 사용합니다.
HTMLMediaElement.mozAudioCaptured Read only
오디오 스트림 캡쳐 여부를 Boolean 값으로 반환합니다. (Mozilla 전용 비표준 속성.)
HTMLMediaElement.mozFragmentEnd
MediaElement의 currentSrc에 fragment URI가 존재하는 경우 fragment end time을 double 값으로 반환합니다. 없을 경우 미디어 길이를 반환합니다. (Mozilla 전용 비표준 속성)
HTMLMediaElement.mozFrameBufferLength  

MozAudioAvailable 이벤트 발생시마다 반환된 framebuffer의 샘플 숫자를 unsigned long 로 반환한다. 이 숫자는 모든 오디오 채널의 총합이며, 기본값은 채널 수 * 1024(예, 2 채널 * 1024 샘플 = 2048)이다.

레이턴시가 낮은 경우 mozFrameBufferLength 를 더 큰 값으로 지정할 수도 있습니다. 범위는 512에서 16384 사이입니다. 범위를 넘어서는 값은 Error를 발생시킵니다. loadedmetadata 이벤트가 발생할 때 새 값을 지정하는 것이 적절합니다. 오디오 정보는 알고 있지만 재생 시작 전 또는 MozAudioAvailable 이벤트가 발생하기 전 시점이죠.

HTMLMediaElement.mozSampleRate Read only  
디지털 샘플링 주파수 값을 double로 반환합니다. 예를 들어 CD 오디오의 경우 초당 44100 샘플을 가집니다.
HTMLMediaElement.muted
오디오 음소거 여부를 Boolean 값으로 반환합니다. 음소거라면 true 반대는 false 를 반환합니다..
HTMLMediaElement.networkState Read only
네트워크를 통한 미디어 데이터 전송 상태를 unsigned short (enumeration)으로 반환합니다.
HTMLMediaElement.paused Read only
미디어 일시 정지 여부를 Boolean 값으로 반환합니다.
HTMLMediaElement.playbackRate
재생 속도를 double 값으로 반환합니다. 
HTMLMediaElement.played Read only
브라우저에서 재생된 미디어 소스 범위를 포함한 TimeRanges 객체를 반환합니다.
HTMLMediaElement.preload
프리로드 할 데이터 타입을 명시하는  preload attribute를 DOMString 값으로 반환한다. 가능한 값들 : none, metadata, auto.
HTMLMediaElement.preservesPitch
사운드 피치 유지 여부를 Boolean 값으로 반환합니다. false 일 경우, 오디오 재생 속도에 따라 변하게 됩니다. Firefox의 (mozPreservesPitch)와 WebKit의 (webkitPreservesPitch)로 구현되어 있습니다.
HTMLMediaElement.readyState Read only
미디어 대기 상태를 unsigned short (enumeration)으로 반환합니다.
HTMLMediaElement.seekable Read only
탐색(seeking) 가능한 범위를 포함한 TimeRanges 객체를 반환합니다.
HTMLMediaElement.seeking Read only
탐색(seeking) 중 여부를 Boolean 값으로 반환합니다.
HTMLMediaElement.sinkId Read only
별도의 오디오 재생 장치로 출력중이라면 장치의 unique ID를 DOMString 으로 반환합니다. 브라우저로 재생 중이라면 빈 문자열입니다. 이 ID는 MediaDevices.enumerateDevices()에서 반환된 MediaDeviceInfo.deviceidid-multimedia, id-communications 중 하나입니다.
HTMLMediaElement.src
미디어 리소스 URL이 포함된 src attribute를 DOMString 값으로 반환합니다.
HTMLMediaElement.srcObject
현재 HTMLMediaElement 객체에서 재생 중이거나 재생 되었던 미디어를 표현하는 MediaStream 객체를 반환합니다. 없는 경우, null 을 반환합니다.
HTMLMediaElement.textTracks Read only
TextTrack 리스트를 반환합니다.
HTMLMediaElement.videoTracks Read only
VideoTrack 리스트를 반환합니다..

Gecko는 싱글 트랙 재생만을 지원합니다. 또한 트랙 메타데이터 파싱은 Ogg 컨테이너 포맷에서만 가능합니다..

HTMLMediaElement.volume
오디오 볼륨을 double 값으로 반환합니다. 0.0 (무음)에서 1.0 (최대크기) 사이 값을 가집니다..

이벤트 핸들러(Event handlers)

HTMLMediaElement.onencrypted
미디어 암호화 시 호출되는 EventHandler를 설정합니다.
HTMLMediaElement.onwaitingforkey
재생하기 위해 복호화 키가 필요한 경우 호출되는 EventHandler를 설정합니다..

폐기된 속성(Obsolete attributes)

아래 속성들은 폐기되었으며 브라우저가 지원하더라도 사용되지 않아야 합니다.

HTMLMediaElement.initialTime Read only
최초 재생 지점을 초 단위로 double 값으로 반환합니다.
HTMLMediaElement.mozChannels Read only  
오디오 채널 수를 double 값으로 반환합니다. (예, 스테레오인 경우 2).

폐기된 이벤트 핸들러(Obsolete event handlers)

HTMLMediaElement.onmozinterruptbegin
Audio Channel manager에 의해 재생이 인터럽트 된 경우 호출되는 EventHandler 를 설정합니다. Firefox 전용 기능으로 Firefox OS에서 추가되었으며 Firefox 55 버전에서 제거되었습니다.
HTMLMediaElement.onmozinterruptend
재생 인터럽트가 해결된 경우 호출되는 EventHandler를 설정합니다. Firefox 전용 기능으로 Firefox OS에서 추가되었으며 Firefox 55 버전에서 제거되었습니다.

메소드

This interface also inherits methods from its ancestors HTMLElement, Element, Node, and EventTarget.

HTMLMediaElement.addTextTrack()
미디어 엘리먼트에 본문 트랙(자막 등)을 추가합니다.
HTMLMediaElement.captureStream()
미디어 콘텐트의 스트림을 캡쳐하여 MediaStream 객체로 반환합니다.
HTMLMediaElement.canPlayType()
현재 지정된 미디어 타입을 재생할 수 있는지 확인합니다.
HTMLMediaElement.fastSeek()
입력된 시간으로 바로 이동합니다.
HTMLMediaElement.load()
미디어를 처음으로 리셋하고 src 어트리뷰트 또는 <source> 엘리먼트로 전달된 소스 중 최적의 소스를 선택합니다.
HTMLMediaElement.mozCaptureStream()
[enter description]
HTMLMediaElement.mozCaptureStreamUntilEnded()
[enter description]
HTMLMediaElement.mozGetMetadata()
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.
HTMLMediaElement.pause()
미디어 재생을 일시 정지합니다.
HTMLMediaElement.play()
미디어를 재생합니다.
HTMLMediaElement.seekToNextFrame()
미디어의 다음 프레임으로 이동합니다. 비표준이며 실험적인 이 기능은 미디어를 읽고 렌더링 하는 속도를 조절할 수 있게 하거나 프레임별로 필터링 등 추가적인 기능을 수행할 수 있게 합니다.
HTMLMediaElement.setMediaKeys()
미디어 복호화에 필요한 키를 지정합니다. Promise 객체를 반환합니다.
HTMLMediaElement.setSinkId()
오디오를 출력할 장치의 ID를 지정합니다. Promise 객체를 반환합니다. 어플리케이션이 특정 장치를 사용할 수 있는 경우에만 동작합니다.

폐기된 메소드

아래 메소드들은 폐기되었습니다. 브라우저가 지원하더라도 사용하면 안됩니다.

HTMLMediaElement.mozLoadFrom()
Mozilla 구현체에서만 동작하는 이 메소드는 다른 미디어 엘리먼트에서 데이터를 로드합니다. load() 메소드와 유사하게 동작하지만 리소스 선택 알고리즘만 다릅니다. 엘리먼트의 소스를 다른 엘리먼트의 currentSrc를 바라보게 합니다. 지정된 엘리먼트의 캐시 및 버퍼에 담긴 데이터에도 모두 접근할 수 있으며 이 말은 즉 다운로드 된 모든 데이터를 공유한다는 의미입니다.

이벤트

부모 엘리먼트 HTMLElement에서 상속받은 이벤트와 GlobalEventHandlers에 정의된 이벤트를 믹스인합니다. addEventListener()를 통해 이벤트를 수신하거나 oneventname 프로퍼티에 리스터를 할당하여 수신합니다.

abort
에러 외의 원인으로 전체 리소스가 로드 되지 못했을 때 발생합니다.
canplay
User agent가 미디어를 재생 가능한 시점에 발생합니다. 다만 전체 미디어를 재생하기 위해서는 콘텐츠의 버퍼링이 더 필요할 수 있습니다.
canplaythrough
추가 버퍼링 없이 전체 미디어를 재생할 수 있는 시점에 발생합니다.
durationchange
duration 속성이 변경된 시점에 발생합니다..
emptied
미디어가 제거된 시점에 발생합니다. 예를 들어 미디어가 이미 (부분적으로라도) 로드 되었는데. HTMLMediaElement.load() 메소드 호출로 재 로드할 경우 발생합니다.
ended
(<audio> or <video>) 미디어가 끝까지 재생 완료 된 시점에 발생합니다.
error
에러가 발생하여 리소스를 로드할 수 없는 시점에 발생합니다.
loadeddata
미디어의 첫번째 프레임이 로딩 완료된 시점에 발생합니다.
loadedmetadata
메타데이터가 로드 된 시점에 발생합니다.
loadstart
브라우저가 리소스를 로드하기 시작하는 시점에 발생합니다.
pause
미디어 일시 정지를 요청하고 paused 상태로 진입하는 시점에 발생합니다. 일반적으로 HTMLMediaElement.pause() 메소드가 호출되는 시점입니다.
play
HTMLMediaElement.play() 메소드 호출이나 autoplay 속성에 의해 paused 프로퍼티가 true 에서 false로 전환되는 시점에 발생합니다.
playing
일시 정지 되거나 버퍼 부족으로 재생 정지 된 이후 재생 가능한 시점에 발생합니다.
progress
브라우저가 리소르를 로딩 중일 때 주기적으로 발생합니다.
ratechange
재생 속도가 변경될 때 발생합니다.
seeked
미디어 시킹이 완료되는 시점에 발생합니다.
seeking
미디어 시킹이 시작되는 시점에 발생합니다.
stalled
User agent가 미디어 데이터를 fetch 하였지만 전송되지 않은 경우 발생합니다.
suspend
미디어 로딩이 중지된 시점에 발생합니다.
timeupdate
currentTime 속성이 변경되는 시점에 발생합니다.
volumechange
볼륨이 변경되는 시점에 발생합니다.
waiting
일시적인 버퍼 부족으로 재생이 정지된 시점에 발생합니다.

명세

Specification Status Comment
Media Capture and Streams
The definition of 'HTMLMediaElement' in that specification.
Candidate Recommendation sinkId, setSinkId(), captureStream() 추가 됨
Encrypted Media Extensions
The definition of 'Encrypted Media Extensions' in that specification.
Recommendation MediaKeys, MediaEncryptedEvent, setMediaKeys, onencrypted, and onwaitingforkey 추가 됨.
HTML Living Standard
The definition of 'HTMLMediaElement' in that specification.
Living Standard HTML5와 동일
HTML5
The definition of 'HTMLMediaElement' in that specification.
Recommendation 최초 정의

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
HTMLMediaElementChrome Full support 42
Full support 42
Full support 1
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support 42
Full support 42
Full support Yes
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Chrome Android Full support 42
Full support 42
Full support 18
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
abort eventChrome Full support YesEdge ? Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?
addTextTrackChrome Full support 42
Full support 42
Full support 26
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android Full support 42
Full support 42
Full support Yes
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Chrome Android Full support 42
Full support 42
Full support 32
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
audioTracksChrome No support NoEdge Full support 12Firefox Full support 33
Disabled
Full support 33
Disabled
Disabled From version 33: this feature is behind the media.track.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE ? Opera Full support YesSafari Full support YesWebView Android No support NoChrome Android No support NoFirefox Android Full support 33
Disabled
Full support 33
Disabled
Disabled From version 33: this feature is behind the media.track.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
autoplayChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support 30Safari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support 30Safari iOS Full support YesSamsung Internet Android ?
bufferedChrome Full support 43Edge Full support 12Firefox Full support 4IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
canplay eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
canplaythrough eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
canPlayTypeChrome Full support YesEdge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
captureStreamChrome Full support 62Edge No support NoFirefox Full support 15
Prefixed
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: moz
IE No support NoOpera Full support 49Safari No support NoWebView Android Full support 62Chrome Android Full support 62Firefox Android Full support 15
Prefixed
Full support 15
Prefixed
Prefixed Implemented with the vendor prefix: moz
Opera Android Full support 46Safari iOS No support NoSamsung Internet Android ?
controllerChrome No support NoEdge No support NoFirefox No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
IE ? Opera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
Opera Android No support NoSafari iOS ? Samsung Internet Android ?
controlsChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
controlsListChrome Full support 58Edge ? Firefox ? IE ? Opera Full support 45Safari ? WebView Android Full support 58Chrome Android Full support 58Firefox Android ? Opera Android Full support 43Safari iOS ? Samsung Internet Android ?
crossOriginChrome Full support 43Edge Full support 13Firefox Full support 22
Full support 22
No support 12 — 22
Alternate Name
Alternate Name Uses the non-standard name: crossorigin
IE Full support 9Opera Full support YesSafari Full support 10WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
currentSrcChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
currentTimeChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
defaultMutedChrome Full support 43Edge Full support 12Firefox Full support 11IE ? Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support 14Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
defaultPlaybackRateChrome Full support 43Edge Full support 12Firefox Full support 20IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support 43Chrome Android Full support 43Firefox Android Full support 20Opera Android ? Safari iOS ? Samsung Internet Android ?
disableRemotePlaybackChrome Full support 49Edge Full support YesFirefox Full support 20IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support 49Chrome Android Full support 49Firefox Android Full support 15Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
durationChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
durationchange eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
emptied eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
endedChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
ended eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
errorChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
error eventChrome Full support YesEdge ? Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?
fastSeekChrome No support NoEdge No support NoFirefox Full support 31IE ? Opera ? Safari Full support YesWebView Android ? Chrome Android ? Firefox Android Full support 31Opera Android ? Safari iOS ? Samsung Internet Android ?
initialTime
DeprecatedNon-standard
Chrome ? Edge No support NoFirefox No support 9 — 23IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support 9 — 23Opera Android ? Safari iOS ? Samsung Internet Android ?
loadChrome Full support 1Edge Full support 12Firefox Full support 3.6IE ? Opera Full support YesSafari Full support 6WebView Android Full support 1Chrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
loadeddata eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
loadedmetadata eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
loadstart eventChrome Full support YesEdge ? Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?
loopChrome Full support 43Edge Full support 12Firefox Full support 11IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support 43Chrome Android Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?
mediaGroupChrome No support NoEdge No support NoFirefox No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
IE ? Opera ? Safari ? WebView Android No support NoChrome Android No support NoFirefox Android No support No
Notes
No support No
Notes
Notes Firefox doesn't implement this yet. See bug 847377.
Opera Android ? Safari iOS ? Samsung Internet Android ?
mediaKeysChrome Full support YesEdge Full support 13Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
mozAudioCaptured
DeprecatedNon-standard
Chrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
mozCaptureStreamUntilEnded
DeprecatedNon-standard
Chrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
mozChannels
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox Full support 4IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android ?
mozFragmentEnd
DeprecatedNon-standard
Chrome ? Edge ? Firefox ? IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
mozFrameBufferLength
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox Full support 4IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android ?
mozGetMetadataChrome No support NoEdge No support NoFirefox Full support 17IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android Full support 17Opera Android No support NoSafari iOS No support NoSamsung Internet Android ?
mozLoadFrom
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox No support 3.6 — 24IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android No support 4 — 24Opera Android No support NoSafari iOS No support NoSamsung Internet Android ?
mozSampleRate
DeprecatedNon-standard
Chrome No support NoEdge No support NoFirefox Full support 4IE No support NoOpera No support NoSafari No support NoWebView Android No support NoChrome Android No support NoFirefox Android Full support 4Opera Android No support NoSafari iOS No support NoSamsung Internet Android ?
mutedChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
networkStateChrome Full support 43Edge Full support 12Firefox Full support 3.5
Notes
Full support 3.5
Notes
Notes The NETWORK_LOADED state was removed to align with the HTML spec in Firefox 4.
IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
onerrorChrome Full support YesEdge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
onencryptedChrome Full support YesEdge Full support 13Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
onmozinterruptbegin
DeprecatedNon-standard
Chrome ? Edge ? Firefox No support ? — 55IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support ? — 55Opera Android ? Safari iOS ? Samsung Internet Android ?
onmozinterruptendChrome ? Edge ? Firefox No support ? — 55IE ? Opera ? Safari ? WebView Android ? Chrome Android ? Firefox Android No support ? — 55Opera Android ? Safari iOS ? Samsung Internet Android ?
onwaitingforkeyChrome Full support 55Edge No support NoFirefox Full support YesIE ? Opera Full support 42Safari ? WebView Android Full support 55Chrome Android Full support 55Firefox Android ? Opera Android Full support 42Safari iOS ? Samsung Internet Android ?
pauseChrome Full support YesEdge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
pause eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
pausedChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
playChrome Full support YesEdge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
play eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
playbackRateChrome Full support 43Edge Full support 12Firefox Full support 20IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 20Opera Android ? Safari iOS ? Samsung Internet Android ?
playedChrome Full support 43Edge Full support 12Firefox Full support 15IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 15Opera Android ? Safari iOS ? Samsung Internet Android ?
playing eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
preloadChrome Full support 43Edge Full support 12Firefox Full support 4IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android ? Safari iOS ? Samsung Internet Android ?
preservesPitch
Deprecated
Chrome Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Implemented with the vendor prefix: webkit
Edge No support NoFirefox Full support 20
Prefixed
Full support 20
Prefixed
Prefixed Implemented with the vendor prefix: moz
IE No support NoOpera No support NoSafari No support NoWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android No support NoSafari iOS No support NoSamsung Internet Android ?
progress eventChrome Full support YesEdge ? Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android ? Safari iOS ? Samsung Internet Android ?
ratechange eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
readyStateChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support 43Chrome Android Full support 43Firefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
seeked eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
seeking eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
seekToNextFrame
ExperimentalDeprecated
Chrome No support NoEdge No support NoFirefox Full support 49
Disabled
Full support 49
Disabled
Disabled From version 49: this feature is behind the media.seekToNextFrame preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE ? Opera ? Safari ? WebView Android No support NoChrome Android ? Firefox Android Full support 49
Disabled
Full support 49
Disabled
Disabled From version 49: this feature is behind the media.seekToNextFrame preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android ? Safari iOS ? Samsung Internet Android ?
seekableChrome Full support 43Edge Full support 12Firefox Full support 8IE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 8Opera Android ? Safari iOS ? Samsung Internet Android ?
seekingChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
setMediaKeysChrome Full support YesEdge Full support 13Firefox Full support YesIE ? Opera Full support YesSafari ? WebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
setSinkIdChrome Full support 49Edge Full support 17Firefox Full support 64
Disabled
Full support 64
Disabled
Disabled From version 64: this feature is behind the media.setsinkid.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE No support NoOpera Full support 36Safari ? WebView Android No support No
Notes
No support No
Notes
Notes Not availabe due to a limitation in Android.
Chrome Android No support No
Notes
No support No
Notes
Notes Not availabe due to a limitation in Android.
Firefox Android Full support 64
Disabled
Full support 64
Disabled
Disabled From version 64: this feature is behind the media.setsinkid.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android Full support 36Safari iOS ? Samsung Internet Android ?
sinkId
Experimental
Chrome Full support 49Edge Full support 17Firefox ? IE ? Opera Full support YesSafari ? WebView Android Full support 49Chrome Android Full support 49Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
srcChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
srcObjectChrome Partial support 52
Notes
Partial support 52
Notes
Notes Currently only supports MediaStream objects.
Edge Partial support 12
Notes
Partial support 12
Notes
Notes Currently only supports MediaStream objects.
Firefox Partial support Partial
Notes
Partial support Partial
Notes
Notes Currently only supports MediaStream objects.
No support 18 — 58
Prefixed
Prefixed Implemented with the vendor prefix: moz
IE ? Opera Partial support 39
Notes
Partial support 39
Notes
Notes Currently only supports MediaStream objects.
Safari Full support YesWebView Android Partial support 52
Notes
Partial support 52
Notes
Notes Currently only supports MediaStream objects.
Chrome Android Partial support 52
Notes
Partial support 52
Notes
Notes Currently only supports MediaStream objects.
Firefox Android Partial support Partial
Notes
Partial support Partial
Notes
Notes Currently only supports MediaStream objects.
No support 18 — 58
Prefixed
Prefixed Implemented with the vendor prefix: moz
Opera Android Partial support 41
Notes
Partial support 41
Notes
Notes Currently only supports MediaStream objects.
Safari iOS ? Samsung Internet Android ?
stalled eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
suspend eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
textTracksChrome Full support YesEdge Full support 12Firefox Full support YesIE ? Opera Full support YesSafari Full support YesWebView Android ? Chrome Android ? Firefox Android ? Opera Android ? Safari iOS ? Samsung Internet Android ?
timeupdate eventChrome Full support 3Edge Full support YesFirefox Full support 3.5IE Full support 9Opera Full support 10.5Safari Full support 3.1WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
videoTracksChrome No support NoEdge Full support 12Firefox Full support 33
Disabled
Full support 33
Disabled
Disabled From version 33: this feature is behind the media.track.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
IE ? Opera ? Safari Full support YesWebView Android ? Chrome Android ? Firefox Android Full support 33
Disabled
Full support 33
Disabled
Disabled From version 33: this feature is behind the media.track.enabled preference (needs to be set to true). To change preferences in Firefox, visit about:config.
Opera Android ? Safari iOS ? Samsung Internet Android ?
volumeChrome Full support 43Edge Full support 12Firefox Full support 3.5IE Full support 9Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?
volumechange eventChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes
waiting eventChrome Full support YesEdge Full support YesFirefox Full support YesIE Full support 9Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support
Partial support  
Partial support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.
See implementation notes.
See implementation notes.
User must explicitly enable this feature.
User must explicitly enable this feature.
Uses a non-standard name.
Uses a non-standard name.
Requires a vendor prefix or different name for use.
Requires a vendor prefix or different name for use.

같이 보기

문서 태그 및 공헌자

이 페이지의 공헌자: ahnzaz, mdnwebdocs-bot
최종 변경자: ahnzaz,