t:REPEATDUR Attribute | repeatDur Property?deprecated)

Internet Development Index

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 retrieves the number of seconds an element's timeline repeats.

Syntax

XML<ELEMENT t:REPEATDUR = sTime... >
Scriptingobject.repeatDur [ = sTime ]

Possible Values

sTimeString that specifies one of the following values:
indefiniteDefault. Timeline repeats indefinitely.
totaldurTotal amount of time to repeat the element's timeline. The time must be specified as described in Time Formats.

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

Remarks

Use the dur or end property to define each repeat iteration. The repeatDur property has no effect if the duration is not defined or is indefinite.

Typically, repeatDur is set on elements that are time containers, such as the t:PAR or t:SEQ element. Elements containing the t:TIMELINE attribute are also time containers. If you set the t:REPEATDUR attribute on an element that is not a time container, it sets the element's duration to the repeatDur value. This property is useful for coordinating the timing of an element with a media element that has a fractional duration, such as an audio file that is 3.45 seconds.

A repeatDur value of 0 is invalid. If 0 is specified, the default value is used instead.

Standards Information

This property is defined in HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 Non-Microsoft link.

Applies To

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

See Also

Introduction to HTML+TIME