YouTip LogoYouTip

Prop Video Ended

# Video ended Property [![Image 8: Video Object Reference Manual](#) 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 ![Image 9: Internet Explorer](#)![Image 10: Firefox](#)![Image 11: Opera](#)![Image 12: Google Chrome](#)![Image 13: Safari](#) 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](#)
← Prop Video ErrorProp Video Ended β†’