HTML+TIME: Media
This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.
Introduction to HTML+TIME provides extensive support for media playback through media container elements, a unified timeline model, a variety of media-specific attributes and properties, and system test attributes. These features make it easy for Web authors to provide tightly synchronized multimedia presentations, and to coordinate media with animation, without using script.
The following links provide access to the object model exposed by the time2 behavior.
Overviews
About Content Selection: System Test Attributes and t:SWITCH
HTML+TIME 2.0 provides authors with the option to display different elements based on system settings.
In HTML+TIME (Timed Interactive Multimedia Extensions) various types of media, animation, and other time elements can be played over a period of time. It is often desirable to be able to jump to any point on this time line. This process of jumping to different points on a time element's time line is called seeking.
Using the HTML+TIME Document Object Model (DOM)
All HTML+TIME objects are accessible through script at run time. This article introduces you to the HTML+TIME objects, methods, events, and properties available to your Web pages.
Tutorials
Incorporate the time2 Behavior
This tutorial explains how to incorporate the time2 behavior in your Web pages so you can begin using timelines, multimedia, and animation with HTML elements.
Media Elements and Objects
Defines a timed animation element in an HTML document.
Defines a timed audio element in an HTML document.
Contains information about an HTML+TIME timeline.
Defines a timed image element in an HTML document.
Defines a generic, timed media element in an HTML document.
Represents an individual media file in a playList collection.
Defines a reference to a generic timed element in an HTML document.
Defines a timed video element in an HTML document.
Attributes and Properties
Gets a description of the media file.
Gets the Abstract content of the entry banner in an Advanced Stream Redirector (ASX) file by using the event object.
Sets or gets a value that applies an acceleration to an element timeline.
Gets the total duration of the timeline.
Gets the current point in time along the total active timeline, including repeats and time spent in reverse mode.
Sets the active track or gets the active playItem object in the playList collection.
Gets the name of the media file author.
Sets or gets whether the timeline on an element begins playing in reverse immediately after it completes in the forward direction.
Gets the banner content of an entry in an ASX file.
Gets the Banner content of an entry in an ASX file using the event object.
Gets the bannerAbstract content of an entry in an ASX file.
Gets the bannerMoreInfo content of an entry in an ASX file.
Sets or gets the delay time before the timeline begins playing on the element.
Gets a value that indicates the current percent of buffering completed.
Gets a value that indicates whether the media file can be paused.
Gets a value that indicates whether the media file is capable of locating a specific time in the media's duration.
Sets or gets the beginning point of a sub-clip of a continuous media object.
Sets or Gets the end point of a sub-clip of a continuous media object.
Gets the copyright information associated with a media file.
Gets a value that indicates the currentFrame of the object.
Sets or gets a value that applies a deceleration to the end of a simple duration.
Gets a value that indicates the current number of bytes downloaded from streaming content.
Gets a value that indicates the current percent of download completed.
Gets a value that indicates the total size (in bytes) of the downloaded file.
Sets or gets a value indicating the amount of time the element remains active or displayed.
Gets a value that indicates the earliest time for efficient seeking.
Sets or gets a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.
Sets or gets the action taken by an element if the element timeline ends before the timeline on its parent element ends.
Gets a Boolean value that indicates whether the media contains audio.
Gets a Boolean value that indicates whether a media file has started to download.
Gets a Boolean value that indicates whether the element is an Introduction to HTML+TIME media element.
Gets a Boolean value that indicates whether the element has a playList collection.
Gets a Boolean value that indicates whether the element can draw on the screen.
Retrieves the index value of the playItem object in the playList collection.
Gets a value that indicates whether the element is currently active on the timeline.
Gets a value indicating whether the element's audio is currently muted.
Gets a value that specifies whether the element is active or holding on the timeline in its current state.
Gets a value that specifies whether the element is paused on the timeline.
Gets a value that indicates the latest time for efficient seeking.
Gets the duration of the element's media file.
Gets the height of the element.
Gets the width of the element.
Gets the MIME type of the object.
Gets the MoreInfo content of an entry banner in an ASX file through the event object.
Sets or gets a value that indicates whether the audio is turned on or off.
Gets the begin time of the current element as an offset from the begin time of the parent element.
Gets the end time of the current element as an offset from the begin time of the parent element.
Sets or gets the object used to render the media associated with this element.
Gets the object that plays media files.
Gets the current progress of the element timeline.
Gets the rating of the media file.
Gets the current iteration in the repetition loop.
Sets or gets the number of times an element timeline repeats.
Sets or gets the number of seconds that an element timeline repeats.
Sets or gets the number of seconds that an element timeline repeats.restart
Sets or gets the conditions under which an element can be restarted on a timeline.
Gets the duration of an element on a timeline in seconds, including autoReverse.
Gets the current point in time along a segment of time.
Gets the duration of a repeat iteration.
Gets an object's current point along its timeline from zero to its dur value.
Sets or gets the playback speed of an element relative to its parent time container.
Gets the playback speed of an element at run time, which includes the cascading effect of the speed set for the parent time container.
Sets or gets the source URL of the media.
Gets the source URL of the media.
Gets the current state of the element timeline.
Gets the current state of the element timeline.
Sets or gets a value that indicates the synchronization rules for the element timeline.
Sets or gets whether the time container must synchronize playback to this element.
Sets or gets the time variance that is allowed on a timeline with locked synchronization.
Sets or gets the action that is taken on the element while the timeline is active.
Sets or gets the type of timeline associated with an element.
Gets the parent time container element of the current element.
Gets the title of the media file.
Sets or gets the MIME type of the media object referenced by the SRC attribute.
Sets or gets a value that indicates how the object is to be updated.
Sets or gets a value that indicates how the object is to be updated.URL
Gets the URL specified by the Advanced Streaming Format (ASF) file script command after the onURLFlip event is fired.
Gets the URL specified by the ASF file script command after the onURLFlip event is fired.volume
Sets or gets the volume of the media file.
Gets the playback volume of an element at run time.
Methods
Converts a value in the element's active timeline to the corresponding point in the parent timeline.
Converts a value in the element's active timeline to the corresponding point in the segment timeline.
Starts the element on the timeline.
Starts an element's timeline at the specified time.
Converts a value in the document timeline to the corresponding point in the element's parent timeline.
Stops the element on the timeline.
Ends an element's timeline at the specified time.
Converts a value in the parent timeline to the corresponding point in the element's active timeline.
Converts a value in the element's parent timeline to the corresponding point in the document timeline.
Stops playing an element's timeline at the current point.
Removes any changes made to the element and returns the element to its original state.
Restarts the element's timeline from a paused state.
Locates a specified point on the element's active timeline and begins playing from that point.
Locates a specified point on the element's active timeline and begins playing from that point.seekTo
Locates a specified point on the element's segment timeline, including repetitions, and begins playing from that point.
Locates a specified frame in the object.
Converts a value in the element's segment timeline to the corresponding point in the element's active timeline.
Converts a value in the element's segment timeline to the corresponding point in the element's simple timeline.
Converts a value in the element's simple timeline to the corresponding point in the element's segment timeline.
Events
Fires when the timeline starts on an element.
Fires when the timeline stops on an element.
Fires when the element's associated media finish loading.
Fires when the element's associated media finish loading.onmediaerror
Fires when an element's media file causes any error.
Fires when the element loses synchronization with its associated timeline.
Fires when the timeline on an element pauses.
Fires when the timeline repeats on an element, beginning with the second iteration.
Fires when the timeline reaches the value of the BEGIN attribute or when the resetElement method is called on the element.
Fires when an element's timeline resumes from a paused state.
Fires when the timeline on an element begins to play backward.
Fires whenever a seek operation is performed on the element.
Fires when synchronization is resumed between the element and its associated timeline.
Fires whenever a time-specific error occurs, usually as a result of setting a property to an invalid value.
The event fires when a track changes in a playList defined in an ASX file.
This event fires when an ASF file, played by a HTML+TIME media tag, processes script commands embedded in the ASF file.
Collections
Retrieves a collection of playItem objects.