Leakbali
w3 Tutorial, Web Tutorial
Switch to English Bahasa Indonesia 
Register   Login

Reference


HTML5 Media Events

Events triggered by medias like videos, images and audio. Applies to all HTML5 elements, but is most common in media elements, such as audio, embed, img, object, and video:

Attribute Value Description
onabort script  Script to be run on an abort event
oncanplayNew script Script to be run when media can start play, but might has to stop for buffering
oncanplaythroughNew script Script to be run when media can be played to the end, without stopping for buffering
ondurationchangeNew script  Script to be run when the length of the media is changed
onemptiedNew script  Script to be run when a media resource element suddenly becomes empty (network errors, errors on load etc.)
onendedNew script  Script to be run when media has reach the end
onerrorNew script  Script to be run when an error occurs during the loading of an element
onloadeddataNew script Script to be run when media data is loaded
onloadedmetadataNew script Script to be run when the duration and other media data of a media element is loaded
onloadstartNew script Script to be run when the browser starts to load the media data
onpauseNew script  Script to be run when media data is paused
onplayNew script  Script to be run when media data is going to start playing
onplayingNew script  Script to be run when media data has start playing
onprogressNew script  Script to be run when the browser is fetching the media data
onratechangeNew script  Script to be run when the media data's playing rate has changed
onreadystatechangeNew script  Script to be run when the ready-state changes
onseekedNew script  Script to be run when a media element's seeking attribute is no longer true, and the seeking has ended
onseekingNew script  Script to be run when a media element's seeking attribute is true, and the seeking has begun
onstalledNew script  Script to be run when there is an error in fetching media data (stalled)
onsuspendNew script Script to be run when the browser has been fetching media data, but stopped before the entire media file was fetched
ontimeupdateNew script Script to be run when media changes its playing position
onvolumechangeNew script Script to be run when media changes the volume, also when volume is set to "mute"
onwaitingNew script Script to be run when media has stopped playing, but is expected to resume

References

About Us

Home
About Us
Contact Us
Sitemap

Tools

Google PageRank
Alexa Rank
Keywords Density

Accounts

Register Account
Login
Valid XHTML 1.0 TransitionalValid CSS!
Web Directory


2006 - 2012 © Leakbali.com - Free Web Tutorial, Free Web Articles, Web Sharing, Source Codes, Web References