HTML onseeking Attribute

❮ HTML Attributes

Example

<video onseeking="myFunction()">

Meaning

The seeking event run when the user starts moving/skipping to a new position in the audio/video.




Standard Syntax

<element onseeking="script">



Browser Support




Status




Applies to:

The onseeking attribute can be used on the following element:

Element Attribute
<audio> seeking
<video> seeking






Attribute Values

Value Description
script Specifies a script that run when the media is seeking.
❮ HTML Attributes