t:SYNCBEHAVIOR Attribute | syncBehavior Property?deprecated) | Internet Development Index |
Sets or retrieves the synchronization rules for the element's timeline.
Syntax
XML <ELEMENT t:SYNCBEHAVIOR = sRule... > Scripting object.syncBehavior [ = sRule ]
Possible Values
sRule String that specifies or receives one of the following values:
canSlip Element 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. locked Element 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 .
Applies To
t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO
See Also
Introduction to HTML+TIME, syncTolerance