Skip to content

MediaElement interface implementation status

Brion Vibber edited this page Apr 11, 2016 · 8 revisions
MediaElement property Implementation Status Notes
HTMLMediaElement.audioTracks X not implemented? leave out for now
HTMLMediaElement.autoplay X stub as r/o false
HTMLMediaElement.buffered semi-working but lies
HTMLMediaElement.controller X not implemented? leave out for now
HTMLMediaElement.controls X stub this out for now, implement for reals later
HTMLMediaElement.crossOrigin X should just implement this for realsies?
HTMLMediaElement.currentSrc X easy to implement, do it
HTMLMediaElement.currentTime
HTMLMediaElement.defaultMuted X easy to implement, do it
HTMLMediaElement.defaultPlaybackRate X easy to implement, do it
HTMLMediaElement.disableRemotePlayback X ??
HTMLMediaElement.duration
HTMLMediaElement.ended
HTMLMediaElement.error X stub it
HTMLMediaElement.loop X stub it
HTMLMediaElement.mediaGroup X not implemented in most browsers, check the stub status
HTMLMediaElement.muted
HTMLMediaElement.networkState X stub it, do for reals later
HTMLMediaElement.paused
HTMLMediaElement.playbackRate X stub it for now (r/o at 1.0)
HTMLMediaElement.played ?
HTMLMediaElement.preload X stub
HTMLMediaElement.readyState X should probably implement for realsies
HTMLMediaElement.seekable Stub ? [should work as is? double-check this]
HTMLMediaElement.seeking ? easy to implement, do it
HTMLMediaElement.src Setter does not work to reset the state of the player ?
HTMLMediaElement.srcObject X -> MSE emulation, stub as null
HTMLMediaElement.textTracks X not implemented? leave out for now
HTMLMediaElement.videoTracks X not implemented? leave out for now
HTMLMediaElement.volume X implement me!
HTMLVideoElement.height X check this?
HTMLVideoElement.poster double-check this works reliably
HTMLVideoElement.videoHeight
HTMLVideoElement.videoWidth
HTMLVideoElement.width X check this?
MediaElement function Implementation Status Notes
HTMLMediaElement.addTextTrack() X not implemented? leave out for now
HTMLMediaElement.canPlayType()
HTMLMediaElement.fastSeek() X implement me as shim over currentTime setter; implement right later
HTMLMediaElement.load() Load should also reset a player, but it seems that it cannot do that yet
HTMLMediaElement.pause()
HTMLMediaElement.play()

|

https://html.spec.whatwg.org/multipage/embedded-content.html#mediaevents

MediaElement events Implementation Status Notes
loadstart networkState / stub an unused handler for now
progress networkState / stub an unused handler for now
suspend networkState / stub an unused handler for now
abort networkState / stub an unused handler for now
emptied networkState / stub an unused handler for now
stalled networkState / stub an unused handler for now
loadedmetadata readyState
loadeddata ? readyState / fakestub this after loadedmetadata?
canplay ? readyState / fakestub this after loadedmetadata?
canplaythrough ? readyState / fakestub this after loadedmetadata?
playing ? readyState (after recovering from stall) / stub an unused handler for now
waiting ? readyState / stub an unused handler for now
seeking should be easy
seeked should be easy
ended
durationchange should be easy
timeupdate X yeah finish this one!
play √?
pause √?
ratechange stub an unused handler
resize should be easy
volumechange should be easy
Clone this wiki locally