Share via


DURATION (ASX Element) (Windows Embedded CE 6.0)

1/6/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

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

See Also

Reference

ASX Elements Reference