ভিডিওতে সিকিং (seek করা) সক্রিয় হলে স্ক্রিপ্ট চালাতে onseeking অ্যাট্রিবিউট ব্যবহার করা হয়।
উদাহরণ
সিকিং শুরু হলে স্ক্রিপ্ট চালানোর উদাহরণ:
<!DOCTYPE html> <html> <body> <video controls onseeking = "display()"> <source src = "/html5/foo.ogg" type = "video/ogg" /> <source src = "/html5/foo.mp4" type = "video/mp4" /> Your browser does not support the video element. </video> <script> function display() { alert("Seeking starts!"); } </script> </body> </html>