t:SYNCBEHAVIOR Attribute | syncBehavior Property?deprecated) | DHTML中文手册 |
sets or retrieves the synchronization rules for the element's timeline.
dhtml语法
xml <ELEMENT t:SYNCBEHAVIOR = sRule... > Scripting object.syncBehavior [ = sRule ]
DHTML可能的值
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.
是否符合公共标准
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
更多语法参考
introduction to html+time, syncTolerance