Partager via


seekSegmentTime Method

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Locates the specified point on the element's segment timeline, and begins playing from that point.

Syntax

object.seekSegmentTime(iSeconds)

Parameters

iSeconds Required. An Integer that specifies a point on the element's segment timeline. The element's timeline immediately begins playing the from the specified point. Legal values range from 0 to segmentDur.

Return Value

No return value.

Remarks

If you attempt to seek to a time on an object that is not currently active, an error is generated. To prevent this, check the object's status using the isActive property.

Not all media types support seeking. In cases where seeking is not supported by the player, calls to seek methods are ignored.

Applies To

t:TRANSITIONFILTER, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

Introduction to HTML+TIME, seekActiveTime, seekTo