Advertisement
Home Open Editor ❯

HTML onseeking Attribute

Example

<video onseeking="myFunction()">

Try this code ❯

Meaning

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


Standard Syntax

<element onseeking="script">


Applies to:

The onseeking attribute can be used on the following element:

Element Attribute
<audio> seeking
<video> seeking

Advertisement

Attribute Values

Value Description
script Specifies a script that run when the media is seeking.
Home Open Editor ❯
Advertisement