|
|
The onseeked attribute defines a script to run when the user is finished moving/skipping to a new position in the audio/video. Tip: Use the currentTime property of the Audio/Video Object to get the current playback position.
|
When the user is finished moving/skipping to a new position in the video, alert some text.
<script>
function myFunction() { alert('Seek operation completed');
}</script>
<video onseeked="myFunction()">
| html event attributes |
Type: | Develop |
Category: | Web Tutorial |
Sub Category: | HTML Media Events Attribute |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference