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

Save as Private