![]() |
Previous | Next |
The DURATION element defines the length of time the Windows Media Player control will render a stream.
Syntax
<DURATION
VALUE="hh:mm:ss.fract"
/>
Attributes
VALUE (required)
The length of time, in hours, minutes, seconds, and hundredths of a second, that a stream is rendered by the Windows Media Player control. The default value is the entire length of the content stream or media clip.
Parent/Child Elements
Hierarchy | Elements |
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.
The DURATION element overrides a PREVIEWDURATION element.
Example Code
<DURATION VALUE="00:00:30" /> <!-- 30 seconds -->
<DURATION VALUE="1:01.5" /> <!-- 61.5 seconds -->
See Also
Previous | Next |