Horje

Example of HTML onloadedmetadata Event Attribute

It will alert when the meta data of the video has loaded.
index.html
Example: HTML
 <script>
function myFunction() {
  alert("Metadata for video loaded");
}
</script>

<video onloadedmetadata="myFunction()"> 

Output should be:

Example of HTML onloadedmetadata Event Attribute




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