Code
Execute
<!DOCTYPE html> <html> <head> <title>html tutorial - html5 - html code - html form - In 30Sec by Microsoft Award MVP - | wikitechy onpause attribute</title> <base href="../tryit/"> </head> <body> <video width="320" height="240" controls onpause="onPause()"> <source src="hibiscus.mp4" type="video/mp4"> </video> <script> function onPause() { alert("Please press play button resume"); } </script> </body> </html>
Result