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

The ended property is supported by all major browsers.
**Note:** Internet Explorer 8 and earlier versions do not support this property.
* * *
## Syntax
_audioObject_.ended
## Technical Details
| Return Value: | A Boolean value. Returns true if the audio has finished playing. Otherwise, returns false. |
| --- |
* * Audio Object](#)
YouTip