Audio ended eigenschap
Definitie en gebruik
einde
De eigenschap retourneert of de afspeling van het auditief al is beëindigd.
Wanneer de speelpositie zich aan het einde van het audiobestand bevindt, is het auditief beëindigd.
Note:This property is read-only.
Example
Check if the audio has ended:
var x = document.getElementById("myAudio").ended;
Syntax
audioObject.ended
Technical Details
Return Value: | Boolean value, returns true if playback ends, otherwise returns false. |
---|
Browser Support
Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|
Chrome | Edge | Firefox | Safari | Opera |
Support | Support | Support | Support | Support |