Version: 2.69.0

PlayerEventMap.canplay

THEOplayer > PlayerEventMap > canplay

PlayerEventMap.canplay property

Fired when the player can resume playback of the media data.

Signature:
'canplay': Event<'canplay'>;

Remarks


- In comparison to `canplaythrough`, the player estimates that if playback were to be started now, the media resource could not be rendered at the current playback rate up to its end without having to stop for further buffering of content.
- See [HTML media - network state events](https://html.spec.whatwg.org/multipage/media.html#mediaevents:dom-media-readystate).