canplay | oncanplay event
Occurs when playback is possible, but would require further buffering.
|HTML Attribute||<element oncanplay = "handler(event)">|
|Event Property||object.oncanplay = handler;|
|addEventListener Method||object.addEventListener("canplay", handler, useCapture)|
Event handler parameters
- handler [in]
Event handler object.
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 188.8.131.52
The oncanplay event is raised when enough data is available to advance the playback position in the direction of playback.
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