Compartir a través de


HTML + Time

Timed Interactive Multimedia Extensions (HTML + Time) were introduced in Microsoft Internet Explorer 5 to add timing and media synchronization support to HTML pages. HTML + Time defines a timeline for the HTML page. The timeline starts as soon as the page loads and continues as long as the browser displays the page. The HTML + Time extensions are based on SMIL 2.0, and use XML elements and attributes. The following table identifies the HTML + Time elements that are recognized by a Windows Media server.

Element

Description

animation

Defines a timed animation element in an HTML document.

audio

Defines a timed audio element in an HTML document.

excl

Defines a time container that allows one child element to play at a time.

img

Defines a timed image element in an HTML document.

media

Defines a generic timed media element in an HTML document.

ref

Defines a reference to a generic timed element in an HTML document.

seq

Defines a time container that contains sequentially timed elements.

video

Defines a timed video element in an HTML document.

The timing elements (seq and excl) define the behavior of the contained child elements contained within them. The seq element runs each child element in sequence, one after another. The excl element runs each child element one at a time in the order determined by the begin attributes associated with the media elements. The media elements (animation, audio, img, media, ref, and video) define the type of media to be streamed. You can apply attributes to timing and media elements to specify the element duration, begin time, end time, and so on. For more information about the attributes supported by Windows Media Services, see Playlist Reference.

HTML + Time is implemented as a DHTML default behavior. Behaviors are components that encapsulate specific functionality or behavior on a page. HTML + Time uses a behavior named time2. The time2 behavior defines the elements presented in the previous table and the attributes that can be assigned to the elements. For more information about using the time2 behavior to create a playlist in an HTML page, see the HTML Playlist Example.

Note

For more information about the SMIL 2.0 Specification, W3C Recommendation, see the W3C Web site.

Web addresses can change, so you might be unable to connect to the Web site or sites mentioned here.

See Also

Concepts

Integrating HTML and Namespaces into a Server-Side Playlist