Windows Media Player SDK banner art
PreviousNext

Media.getMarkerTime

The getMarkerTime method retrieves the time of the marker at the specified index.

Syntax

player.currentMedia.getMarkerTime(markerNum)

Parameters

  markerNum

Number (long) specifying the marker index.

Return Values

This method returns a Number (double) specifying the location of the marker in seconds from the beginning of the clip.

Remarks

This method returns NULL if the specified marker does not exist.

Some media clips do not contain markers. Use markerCount to find out how many markers are in the current clip.

Marker index numbers start at 1.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.