canplay
Summary
Fires whenever enough data is available to determine whether a media is playable.
Overview Table
Synchronous | No |
---|---|
Bubbles | No |
Target | dom/Element |
Cancelable | No |
Default action | ? |
The oncanplay event is raised when enough data is available to advance the playback position in the direction of playback. This event first occurs after onloadeddata and before oncanplaythrough. To invoke this event, load a media resource.
Related specifications
- W3C HTML5
- Working Draft
- WHATWG HTML
- Living Standard
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]