HTML / CSS / JavaScript Tutorial

HTML Event attribute: oncanplay

[this page | pdf | back links]

The HTML oncanplay attribute specifies the event that is triggered when a file is ready to start playing (i.e. when it has buffered enough to begin). It applies to <audio>, <embed>, <object> and <video> elements.


Contents | Prev | Next | HTML Attributes

Desktop view | Switch to Mobile