Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This element defines the length of time the Windows Media Player control will render a stream.

Syntax

<DURATION

VALUE="hh:mm:ss.fract"
/>

Parameters

VALUE(required)

The length of time, in hours, minutes, seconds, and hundredths of seconds, that a stream is rendered by the WMP control.

The default value is the entire length of the content stream or media.

Parent/Child Information

Hierarchy Allowed element

Parent elements

ENTRY, REF

Child elements

None

Remarks

This element defines the length of time a stream is to be rendered.

If the VALUE attribute exceeds the length of the content stream, the stream terminates at its normal end-point.

This element can appear either within a REF element or within an ENTRY element. However, a DURATION element defined within a REF element overrides one that appears within the REF element's parent ENTRY element.

Example

Copy Code
<DURATION VALUE="00:00:30" />   <!-- 30 seconds -->
<DURATION VALUE="1:01.5" />  <!-- 61.5 seconds -->