Easy Tutorial
❮ Tag Frameset Att Tbody Align ❯

HTML Audio/Video DOM ended Property

HTML Audio/Video DOM Reference Manual

Example

Check if the video playback has ended:


Definition and Usage

The ended property returns whether the playback of the audio/video has ended.

If the playback position is at the end of the audio/video, then the playback has ended.


Browser Support

All major browsers support the ended property.

Note: Internet Explorer 8 and earlier versions do not support this property.


Syntax

Technical Details

| Return Value: | Boolean, true|false. Returns true if the playback has ended, otherwise returns false. | | --- | --- |

❮ Tag Frameset Att Tbody Align ❯