<html>
<body>
<p>This example demonstrates how to assign an "onloadstart" event to a video element.</p>
<video controls onloadstart="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("Starting to load video");
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onloadstart_html by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 14:04:41 GMT -->
</html>