Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html> 
<html> 
<body> 
<p>Assign an "onloadedmetadata" event to a video element.</p>
<video controls onloadedmetadata="myFunction()">
  <source src="mov_bbb.mp4" type="video/mp4">
  <source src="mov_bbb.ogg" type="video/ogg">
  Your browser does not support HTML5 video.
</video>
<p>Video courtesy of <a href="https://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.</p>
<script>
function myFunction() {
  alert("Meta data for video loaded");
}
</script>
</body> 
</html>