YouTip LogoYouTip

Prop Audio Seeking

HTML DOM Audio seeking Property

HTML DOM Audio seeking Property

-- Learning not just technology, but dreams!

JavaScript Reference

Overview

JavaScript Objects

Browser Objects

DOM Objects

HTML Objects

HTML DOM Area Object

HTML DOM Base Object

Audio seeking Property

Audio Object Reference Audio Object

Example

Display whether the user is currently seeking in the audio:

var x = document.getElementById("myAudio");

document.getElementById("mySpan").innerHTML = ("Seeking: " + x.seeking);

x output value is:

Seeking: true

Try it yourself Β»


Definition and Usage

The seeking property returns whether the user is currently seeking in the audio.

Seeking refers to the user moving/jumping to a new position within the audio.

Note: This property is read-only.


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The seeking property is supported by all major browsers.

Note: Internet Explorer 8 or earlier versions do not support this property.


Syntax

audioObject.seeking

Technical Details

Return Value: A Boolean. true if the user is seeking. Otherwise false.

Audio Object Reference Audio Object

HTML DOM Area Object

HTML DOM Base Object

iFlytek Star Coding Plan includes free model call quota, DeepSeek, GLM, Kimi, MiniMax, one-stop experience and deployment platform. Configuration Guide Β₯3.9/month Subscribe Now

Click to Share Notes

Cancel

Write notes...

Image URL

Image Description

Image Size Γ—

← Prop Audio SrcProp Audio Seekable β†’