Share via


Windows Media Player 11 SDK STARTMARKER Element 

Windows Media Player SDK banner art

Previous Next

STARTMARKER Element

The STARTMARKER element specifies a marker from which Windows Media Player will start rendering the stream.

Syntax

  <STARTMARKER
   NUMBER = "marker number"
   NAME = "marker name"
/>

Attributes

NUMBER

The number of a numeric marker in the index. The default value is the beginning of on-demand content or the current position in a real-time stream.

NAME

The name of a named marker in the index. The default value is the beginning of on-demand content or the current position in a real-time stream.

Parent/Child Elements

Hierarchy Elements
Parent elements ENTRY, REF
Child elements None

Remarks

This element specifies the marker from which Windows Media Player is to start rendering the stream defined in the parent ENTRY or REF element.

Note   Use this element with either the NUMBER or NAME attribute, but not both.

A STARTMARKER element defined within a REF element takes precedence over a STARTMARKER element defined within the REF element's parent ENTRY element. A STARTMARKER element also takes precedence over a STARTTIME element.

If the marker specified by a STARTMARKER element occurs later in the stream than the marker defined by an ENDMARKER element, no content plays, but no error is generated.

Example Code

<STARTMARKER NUMBER="14" />
<STARTMARKER NAME="Marker_StartHere" />

Requirements

Windows Media Player version 7.0 or later.

See Also

Previous Next