HTML Audio/Video DOM canplaythrough Event
Alert that the video can be played all the way through, without stopping:
myVid.oncanplaythrough=alert("Can play through video without stopping");
Try it yourself »
Definition and Usage
The canplaythrough event occurs when the browser estimates it can play through the specified audio/video without having to stop for buffering.
During the loading process of an audio/video, the following events occur, in this order:
The canplaythrough event is supported in all major browsers.
Note: This property is not supported in Internet Explorer 8 and earlier.
|Supported HTML tags:||<audio>, <video>|
HTML Audio/Video DOM Reference
Thank You For Helping Us!
Your message has been sent to W3Schools.