Share via


DURATION

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

<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

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

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.