<!DOCTYPE html>
<html lang="en-US">
<head>
<style>
video{
width:100%;
height:330px
}
</style>
</head>
<body>
<video onwaiting="myFunction()" controls>
<source src="/hawk.mp4" type="video/mp4">
</video>
<script>
function myFunction() {
alert("Please wait, I'm loading next frame");
}
</script>
<p><strong>Note</strong>: If 'onwaiting' event doesn't work, try after clearing browser cache and then play the video and move the seekbar to the extreme end immediately</p> </body>
</html>