t:REPEATDUR Attribute | repeatDur Property?deprecated) | Internet Development Index |
Sets or retrieves the number of seconds an element's timeline repeats.
Syntax
XML <ELEMENT t:REPEATDUR = sTime... > Scripting object.repeatDur [ = sTime ]
Possible Values
sTime String that specifies one of the following values:
indefinite Default. Timeline repeats indefinitely. totaldur Total 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 .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
See Also
Introduction to HTML+TIME