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

Syntax

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

Possible Values

sRuleString that specifies or receives one of the following values:
canSlipElement does not have to be synchronized with the parent element's timeline. This allows an HTML page to have enough flexibility to handle network problems.
lockedElement must be synchronized with the parent element's timeline. For example, a parent element's timeline does not progress until the child element's 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 enables 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's 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.

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, syncTolerance