- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Execute a script when the seeking attribute is set to true indicating that seeking is active in HTML?
Use the onseeking attribute to indicate that seeking is active in a video in HTML.
Example
You can try to run the following code to execute a script when the seeking attribute is set to true indicating that seeking is active in HTML −
<!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>
- Related Articles
- Execute a script when the seeking attribute is set to false indicating that seeking has ended in HTML?
- HTML DOM Video seeking Property
- Execute a script when the file is unavailable in HTML?
- Execute a script when the element is invalid in HTML?
- Execute a script when the element is finished loading in HTML?
- Execute a script when the browser window is closed in HTML?
- Execute a script when the element is being dragged in HTML?
- Execute a script when the element is being clicked in HTML?
- Execute a script when media data is loaded in HTML?
- Execute a script when the media is ready to start playing in HTML?
- Execute a script when the document is about to be unloaded in HTML?
- Execute a script when the browser window is being resized in HTML?
- Execute a script when the element is being double-clicked in HTML?
- Execute a script when the dragged element is being dropped in HTML?
- Execute a script when a file is ready to start playing in HTML?

Advertisements