<!DOCTYPE html>
<html lang="en-US">
<body>
<video style="width:100%;height:330px" onplay="myFunction()" controls>
<source src="/hawk.mp4" type="video/mp4">
</video>
<script>
function myFunction(){
alert("Video is ready to start playing");
}
</script>
<p><strong>Note</strong>: Try to play the video</p> </body>
</html>