Horje

Definition and Usage of HTML oncanplay Event Attribute

The oncanplay attribute fires when the browser can start playing the specified audio/video.

During the loading process of an audio/video, the following event attributes occur, in this order:

  1. loadstart
  2. durationchange
  3. loadedmetadata
  4. loadeddata
  5. progress
  6. canplay
  7. canplaythrough




Category :
Web Tutorial
Sub Category :
HTML Media Events Attribute
Uploaded by :
Admin