Video ended Property
Definition and Usage
end
The property returns whether the video playback has ended.
When the playback position is at the end of the video, the video has ended.
Note:This property is read-only.
Example
Check if the video has ended:
var x = document.getElementById("myVideo").ended;
Syntax
videoObject.ended
Technical Details
Return Value: | Boolean value, returns true if the playback is finished; otherwise returns false. |
---|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | 9.0 | Support | Support | Support |