HTML+TIME 1.0 Reference | Internet Development Index |
This section contains reference information for the object model exposed by the time behavior.
Behaviors
audioDefines a timed audio element in an HTML document.
imgDefines a timed image element in an HTML document.
mediaDefines a generic, timed media element in an HTML document.
parDefines a new timeline container in an HTML document for independently timed elements.
seqDefines a new timeline container in an HTML document for sequentially timed elements.
timeProvides an active timeline for an HTML element.
videoDefines a timed video element in an HTML document.
Events
onbeginFires when the timeline starts on an element.
onendFires when the timeline stops on an element.
onmediacompleteFires when the element's associated media is finished loading.
onmedialoadfailedFires when an element's media file fails to load for any reason.
onmediaslipFires when an element's media file fails to keep up with the defined timeline.
onpauseFires when the timeline on an element pauses.
onrepeatFires when the timeline repeats on an element, beginning with the second iteration.
onresumeFires when an element's timeline resumes from a paused state.
onresyncFires when the element's associated media synchronization is interrupted.
onreverseFires when the timeline on an element begins to play backward.
onscriptcommandFires when the Microsoft?Windows Media?Player control receives a synchronized command or URL.
Methods
beginElementStarts the element on the timeline.
endElementStops the element on the timeline.
pausePauses the timeline on the HTML document.
resumeResumes a paused timeline on the HTML document.
Attributes/Properties
accelerateSets or retrieves a value that applies an acceleration to the element's local timeline.
autoReverseSets or retrieves whether the timeline on an element immediately begins playing in reverse after completing in the forward direction.
beginSets or retrieves the delay time before the timeline begins playing on the element.
beginAfterSets or retrieves a value indicating that the timeline of an element starts when the referenced element ends.
beginEventSets or retrieves a value that starts the timeline of an element when the referenced event occurs.
beginWithSets or retrieves a value that starts an element's timeline at the same time as the referenced element.
clipBeginSets or retrieves the beginning point of a sub-clip of a continuous media object.
clipEndSets or retrieves the end point of a sub-clip of a continuous media object.
clockSourceSets or retrieves whether all the elements within the local time scope are synchronized with this element's timeline.
currTimeRetrieves a value indicating the current time along the simple duration as defined by the element's t:DUR or t:END attribute.
decelerateSets or retrieves a value that applies a deceleration to the end of a simple duration.
durSets or retrieves a value indicating the amount of time the element remains active or displayed.
endSets or retrieves a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.
endEventSets or retrieves a value indicating that the timeline of an element ends immediately when the referenced event occurs, regardless of the element's repeat count or repeatDur property.
endHoldSets or retrieves whether an element remains active if its timeline ends before the timeline on its parent element ends.
eventRestartSets or retrieves whether the element should restart if a beginEvent call occurs while the local timeline is already running.
imgSets or retrieves the URL of an alternate image to display if the MIME type is not supported on the user's computer.
localTimeRetrieves a value indicating the current time along the local duration, as defined by the element's t:REPEAT or t:REPEATDUR attribute.
onOffBehaviorRetrieves an object indicating whether the specified Microsoft DirectAnimation?behavior is running.
playerSets or retrieves the object used to render the media associated with this element.
playerObjectRetrieves the object that plays media files.
progressBehaviorRetrieves an object indicating the progress of the specified DirectAnimation behavior.
repeatSets or retrieves the number of times an element's timeline repeats.
repeatDurSets or retrieves the number of seconds an element's timeline repeats.
srcSets or retrieves the source URL of the media.
syncBehaviorSets or retrieves the synchronization rules for the element's timeline.
syncToleranceRetrieves the time variance allowed on a timeline with locked synchronization.
timeActionSets or retrieves what action is taken on the element while the timeline is active.
timelineSets or retrieves the type of timeline associated with an HTML element.
timelineBehaviorRetrieves a DirectAnimation number object containing the timeline behavior associated with the specified object.
timeStartRuleSets or retrieves the point at which the document's timeline begins.
typeSets or retrieves the MIME type of the media object referenced by the t:SRC attribute.