canplaythrough | oncanplaythrough event
Occurs when playback to end is possible without requiring a stop for further buffering.
|HTML Attribute||<element oncanplaythrough = "handler(event)">|
|Event Property||object.oncanplaythrough = handler;|
|addEventListener Method||object.addEventListener("canplaythrough", handler, useCapture)|
Event handler parameters
- handler [in]
Event handler object.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 184.108.40.206
The oncanplaythrough event is raised when data is being fetched at a rate that would allow playback without interruption at the defaultPlaybackRate. If the autoplay attribute is specified, the video starts playing when oncanplaythrough is received.
To invoke this event, do one of the following:
- Load a media resource.
- video element
- video object
- Make your videos accessible with Timed Text Tracks
Build date: 11/16/2013