Player6.MarkerHit (deprecated)
This page documents a feature of the Windows Media Player 6.4 ActiveX control. We recommend that you migrate your content to use the Windows Media Player 9 Series ActiveX control. For more information about the Windows Media Player 9 Series ActiveX control, see the Windows Media Player 9 Series SDK.
This event occurs when playback reaches a marker.
Syntax
JScript
<SCRIPT FOR="MediaPlayer" EVENT="MarkerHit(lMarkerNum)" LANGUAGE="JScript">
<!-- insert script commands -->
</SCRIPT>
VBScript
<SCRIPT LANGUAGE="VBScript">
Sub MediaPlayer_MarkerHit(lMarkerNum)
<!-- insert script commands -->
End Sub
</SCRIPT>
Parameters
* lMarkerNum*
Long value specifying the number of the marker that was reached.
Remarks
This event does not occur if the file is being scanned (fast-forward or fast-reverse).
Requirements
Version: Windows Media Player version 6.4.
Library: Use msdxm.ocx.
Platform: Windows 98 Second Edition or higher.
See Also