Prop Video Ended
# Video ended Property
[ Video Object](#)
## Example
Check if video playback has ended:
var x = document.getElementById("myVideo").ended;
The output of _x_ is:
true
[Try it Β»](#)
* * *
## Definition and Usage
The ended property returns whether the video has ended.
The audio/video is ended if the playback position is at the end of the video.
**Note:** This property is read-only.
* * *
## Browser Support

The ended property is supported by all major browsers.
**Note:** Internet Explorer 8 or earlier does not support this property.
* * *
## Syntax
_videoObject_.ended
## Technical Details
| Return Value: | A boolean. Returns true if playback has ended. Otherwise, returns false. |
| --- |
* * Video Object](#)
YouTip