seekSegmentTime Method

Internet Development Index

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

Syntax

object.seekSegmentTime(iSeconds)

Parameters

iSeconds Required. 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.

Standards Information

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

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