Baseline Widely available
The HTMLMediaElement.ended
property indicates whether the media element has ended playback.
A boolean value which is true
if the media contained in the element has finished playing.
If the source of the media is a MediaStream
, this value is true
if the value of the stream's active
property is false
.
const obj = document.createElement("video");
console.log(obj.ended); // false
Specifications Browser compatibility See also
HTMLMediaElement
: Interface used to define the HTMLMediaElement.ended
propertyMediaStream
MediaStream.active
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4