canSeek Property (t:ANIMATION, t:AUDIO, t:IMG, ...)

HTML (DHTML)

canSeek Property

Internet Development Index

Retrieves a value that indicates whether the media file is capable of locating a specific time in the media's duration.

Syntax

HTMLN/A
Scripting[ bSeek = ] object.canSeek

Possible Values

bSeekBoolean that receives one of the following values.
falseDefault. Media file cannot locate a specific time in its duration.
trueMedia can file locate a specific time in its duration.

The property is read-only. The property has a default value of false.

Remarks

Some streaming formats do not support seeking. Ideally, the canSeek property should indicate if a media type supports seeking. Some formats, particularly streaming media, do not report the correct information regarding their ability to seek.

Media must be seekable (canSeek = true), for the clipBegin or clipEnd methods to work on that media.

Standards Information

This property is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:REF, t:VIDEO

See Also

Introduction to HTML+TIME, canPause, clipBegin