onseeking Event in JavaScript
onseeking Event in JavaScript
The onseeking event is used to trigger when the user starts moving or skipping to a new position in the audio or video. It is the opposite of the onseeked event. For getting the current playback position we need to use currentTime property of the Audio/Video Object.
Syntax:-
Its syntax is:- < element onseeking="my_script" > OR object.onseeking= function(){my_script} OR object.addEventListener("seeking", my_script)