<video>
Widely available
The <video>
element plays videos or movies, optionally with controls provided by the browser.
Compatibility (view on caniuse.com)
- Chrome 3 Released on 2009-09-15
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 3.5 Released on 2009-06-30
- Firefox for Android 4 Released on 2011-03-29
- Safari 3.1 Released on 2008-03-18
- Safari on iOS 3 Released on 2009-06-17
MDN docs
- HTMLMediaElement
- HTMLMediaElement.abort_event
- HTMLMediaElement.autoplay
- HTMLMediaElement.buffered
- HTMLMediaElement.canPlayType
- HTMLMediaElement.canplay_event
- HTMLMediaElement.canplaythrough_event
- HTMLMediaElement.controls
- HTMLMediaElement.crossOrigin
- HTMLMediaElement.currentSrc
- HTMLMediaElement.currentTime
- HTMLMediaElement.defaultMuted
- HTMLMediaElement.defaultPlaybackRate
- HTMLMediaElement.duration
- HTMLMediaElement.durationchange_event
- HTMLMediaElement.emptied_event
- HTMLMediaElement.ended
- HTMLMediaElement.ended_event
- HTMLMediaElement.error
- HTMLMediaElement.error_event
- HTMLMediaElement.load
- HTMLMediaElement.loadeddata_event
- HTMLMediaElement.loadedmetadata_event
- HTMLMediaElement.loadstart_event
- HTMLMediaElement.loop
- HTMLMediaElement.muted
- HTMLMediaElement.networkState
- HTMLMediaElement.pause
- HTMLMediaElement.pause_event
- HTMLMediaElement.paused
- HTMLMediaElement.play
- HTMLMediaElement.play_event
- HTMLMediaElement.playbackRate
- HTMLMediaElement.playing_event
- HTMLMediaElement.preload
- HTMLMediaElement.progress_event
- HTMLMediaElement.ratechange_event
- HTMLMediaElement.readyState
- HTMLMediaElement.seekable
- HTMLMediaElement.seeked_event
- HTMLMediaElement.seeking_event
- HTMLMediaElement.src
- HTMLMediaElement.stalled_event
- HTMLMediaElement.suspend_event
- HTMLMediaElement.timeupdate_event
- HTMLMediaElement.volume
- HTMLMediaElement.volumechange_event
- HTMLMediaElement.waiting_event
- HTMLVideoElement
- HTMLVideoElement.height
- HTMLVideoElement.poster
- HTMLVideoElement.resize_event
- HTMLVideoElement.videoHeight
- HTMLVideoElement.videoWidth
- HTMLVideoElement.width
Specifications
- HTML Standard, from HTML Workstream (WHATWG).
BCD data
- api.HTMLMediaElement
- api.HTMLMediaElement.abort_event
- api.HTMLMediaElement.autoplay
- api.HTMLMediaElement.buffered
- api.HTMLMediaElement.canPlayType
- api.HTMLMediaElement.canplay_event
- api.HTMLMediaElement.canplaythrough_event
- api.HTMLMediaElement.controls
- api.HTMLMediaElement.crossOrigin
- api.HTMLMediaElement.currentSrc
- api.HTMLMediaElement.currentTime
- api.HTMLMediaElement.defaultMuted
- api.HTMLMediaElement.defaultPlaybackRate
- api.HTMLMediaElement.duration
- api.HTMLMediaElement.durationchange_event
- api.HTMLMediaElement.emptied_event
- api.HTMLMediaElement.ended
- api.HTMLMediaElement.ended_event
- api.HTMLMediaElement.error
- api.HTMLMediaElement.error_event
- api.HTMLMediaElement.load
- api.HTMLMediaElement.loadeddata_event
- api.HTMLMediaElement.loadedmetadata_event
- api.HTMLMediaElement.loadstart_event
- api.HTMLMediaElement.loop
- api.HTMLMediaElement.muted
- api.HTMLMediaElement.networkState
- api.HTMLMediaElement.pause
- api.HTMLMediaElement.pause_event
- api.HTMLMediaElement.paused
- api.HTMLMediaElement.play
- api.HTMLMediaElement.play.returns_promise
- api.HTMLMediaElement.play_event
- api.HTMLMediaElement.playbackRate
- api.HTMLMediaElement.played
- api.HTMLMediaElement.playing_event
- api.HTMLMediaElement.preload
- api.HTMLMediaElement.progress_event
- api.HTMLMediaElement.ratechange_event
- api.HTMLMediaElement.readyState
- api.HTMLMediaElement.seekable
- api.HTMLMediaElement.seeked_event
- api.HTMLMediaElement.seeking
- api.HTMLMediaElement.seeking_event
- api.HTMLMediaElement.src
- api.HTMLMediaElement.stalled_event
- api.HTMLMediaElement.suspend_event
- api.HTMLMediaElement.timeupdate_event
- api.HTMLMediaElement.volume
- api.HTMLMediaElement.volumechange_event
- api.HTMLMediaElement.waiting_event
- api.HTMLVideoElement
- api.HTMLVideoElement.height
- api.HTMLVideoElement.poster
- api.HTMLVideoElement.resize_event
- api.HTMLVideoElement.videoHeight
- api.HTMLVideoElement.videoWidth
- api.HTMLVideoElement.width
- html.elements.video
- html.elements.video.autoplay
- html.elements.video.controls
- html.elements.video.crossorigin
- html.elements.video.height
- html.elements.video.loop
- html.elements.video.muted
- html.elements.video.poster
- html.elements.video.preload
- html.elements.video.src
- html.elements.video.width