Partilhar via


localTime Property (deprecated)

This page documents a feature of HTML+TIME 1.0, which was released in Microsoft® Internet Explorer 5. We recommend that you migrate your content to the latest version of HTML+TIME, which implements the SMIL 2.0 Working Draft. See the Introduction to HTML+TIME overview for more information.

Gets a value indicating the current time along the local duration, as defined by the element's t:REPEAT atribute or t:REPEATDUR attribute.

Syntax

XML N/A
Scripting [ sTime = ] object.localTime

Possible Values

sTime A String that specifies the current time on the element's local duration. The local duration is the amount of time from when the element begins until it stops, including playing in reverse and all repetitions.

The property is read-only. The property has no default value.

Remarks

This property is deprecated. For similar functionality, refer to the simpleTime property available with the time2 behavior.

If the t:AUTOREVERSE attribute is set to true on an element, the localTime is effectively doubled. The localTime property also includes the value of the element's t:REPEAT attribute or t:REPEATDUR attribute.

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO

See Also

Introduction to HTML+TIME, currTime