![]() |
VOOZH | about |
The Audio ended property is used for returning whether the playback of the audio has ended or not. When the playback position is at the end of the audio, we consider the audio has ended. The Audio-ended property returns a boolean true if the audio has ended, else it returns false. The Audio ended property is a read-only property.
Syntax:
audioObject.ended
The below program illustrates the Audio ended Property:
Example: Finding out if the audio has ended.
Output:
Supported Browsers: The browser supported by HTML DOM Audio ended Property are listed below: