<!DOCTYPE html>
<html lang="en-US">
<body>
<video style="width:100%;height:330px" oncanplaythrough="myFunction()" controls>
<source src="/hawk.mp4" type="video/mp4">
</video>
<script>
function myFunction(){
alert("This video can play without interruption");
}
</script> </body>
</html>