Partilhar via


t:SYNCBEHAVIOR Attribute | syncBehavior 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 the synchronization rules for the element timeline.

Syntax

XML <ELEMENT t:SYNCBEHAVIOR = sRule... >
Scripting [ sRule = ] object.syncBehavior

Possible Values

sRule String that specifies or receives one of the following values.
canSlip
The element does not have to be synchronized with the parent element timeline. This allows an HTML page to have enough flexibility to handle network problems.
locked
Element must be synchronized with the parent element timeline. For example, a parent element timeline does not progress until the child element media is ready to be played.

The property is read/write. The property has no default value.

Remarks

You must use this property with the t:CLOCKSOURCE attribute to determine the scope of which elements to synchronize. If a media file isn't ready when the timeline begins, the canSlip value allows the parent timeline to continue without interruption. The timeline on the element associated with the media begins as soon as the file loads.

If you set the t:SYNCBEHAVIOR attribute to locked, the parent timeline must pause and wait for the element to catch up. If the parent element timeline is also locked, the scope of the synchronization behavior is extended to include all the time children of the parent's parent element. If all timelines are locked, the entire document pauses when an element cannot maintain its synchronization.

Applies To

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

See Also

Introduction to HTML+TIME, syncTolerance