Κοινή χρήση μέσω


t:AUTOREVERSE Attribute | autoReverse 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.

Sets or gets whether the timeline on an element immediately begins playing in reverse after completing in the forward direction.

Syntax

XML <ELEMENT t:AUTOREVERSE = bReverse... >
Scripting [ bReverse = ] object.autoReverse

Possible Values

bReverse A boolean that specifies or receives one of the following values.
true
Timeline plays in the forward direction until it completes, and then it immediately plays in the reverse direction.
false
Default. Timeline does not play in the reverse direction after it finishes playing in the forward direction.

The property is read/write. The property has a default value of false.

Remarks

On some systems, this attribute is referred to as "Play forward, then backward." The property cannot be modified in script after the onload event fires on the document body.

By setting autoReverse to true on a video element, that element is frozen on the frame where the reverse occurred; that is, the last frame that played.

Audio files do not play in reverse, they end.

Applies To

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

See Also

Introduction to HTML+TIME