<script> function myFunction() { alert("Can start playing video"); } </script> <video oncanplay="myFunction()">