Windows Media Player 11 SDK DURATION Element
The DURATION element defines the length of time Windows Media Player will render the associated playlist entry.
<DURATION VALUE = "hh:mm:ss.fract" />
The length of time, in hours, minutes, seconds, and hundredths of a second, that an entry is rendered by Windows Media Player. The default value is the entire length of the entry. If the entry is a graphic file, a duration value must be specified.
|Parent elements||ENTRY, REF|
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.
<DURATION VALUE="00:00:30" /> <!-- 30 seconds --> <DURATION VALUE="1:01.5" /> <!-- 61.5 seconds -->
Windows Media Player version 7.0 or later.