HTML Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> video{ width:100%; height:330px } </style> </head> <body> <p>Pause this video and try to change the 'seek bar' in the video</p> <video onseeking="myFunction()" controls> <source src="/hawk.mp4" type="video/mp4"> </video> <script> function myFunction(){ console.log("Seek operation started!"); } </script> <p><strong>Note</strong>: Open your console (Press F12)</p> </body> </html>
OUTPUT
×

Save as Private