共用方式為


onoutofsync Event

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

Fires when the element loses synchronization with its associated timeline.

Syntax

Inline HTML <ELEMENT onoutofsync = "handler(event);" >
Event Property object.onoutofsync = handler;
attachEvent object.attachEvent( "onoutofsync", handler);
Named script <SCRIPT FOR = object EVENT = onoutofsync>

Event Information

Bubbles No
Cancels No
To invoke Interrupt the element's ability to play its media as defined by the timeline. Using timelines with locked SYNCBEHAVIOR increases the chance that the element needs to be resynchronized somewhere along the timeline.
Default action Calls the associated event handler and reestablishes media synchronization.

Event Object Properties

Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query the event object for the following event properties.

Available Properties

srcElement Gets or sets the object that fired the event.
type Gets or sets the event name from the event object.

Refer to the specific event object for additional event properties.

Applies To

t:ANIMATION, t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:REF, t:SEQ, t:VIDEO

See Also

Introduction to HTML+TIME