onseeked event Event Object Example Execute JavaScript after the user relocates the playback position of the video: Try it » The bottom of this article contains more examples. Definition and Usage The onseeked event is triggered after the user relocates the playback position of the video/audio (audio/video). Tip: The opposite of the onseeked event is the onseeking events. Tip: Use currentTime property, which can set or return the current playback position of the video/audio (audio/video). Browser support The numbers in the table indicate the version number of the first browser to support the event. Events onseeked Yes 9.0 Yes Yes Yes Syntax In HTML: < element onseeked=" myScript ">Try it In JavaScript: object .onseeked=function(){ myScript }; Try it In JavaScript, use the addEventListener() method: object .addEventListener("seeked", myScript ); Try it Note: Internet Explorer 8 and earlier IE versions do not support addEventListener() method. Technical Details Does it support bubbling: No Is it cancelable: No Event type: Event Supported HTML tags: , More examples Example The following example demonstrates the difference between the onseeking and onseeked events: Try it » Example After the user relocates the video playback position, you can use the currentTime property of the Video object to display the current playback position: // Get the element with id="myVideo" Element var x = document.getElementById("myVideo"); // If the seek is complete, add to the seeked event, and execute the corresponding function x.addEventListener("seeked", myFunction); function myFunction() { // Display the element with id="demo" current playback position of the video in the element document.getElementById("demo").innerHTML = x.currentTime; } Try it » Example Execute JavaScript after the audio playback position is relocated: Try it » Event Object