Player6.SetCurrentEntry (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 method selects a clip for playback by Windows Media Player.
Syntax
MediaPlayer.SetCurrentEntry(lWhichEntry)
Parameters
* lWhichEntry*
Long value indicating the index number of the ENTRY element that defines the media file to play back.
Return Value
This method does not return a value.
Remarks
If the value for lWhichEntry is valid for the specified Windows Media metafile, Windows Media Player will begin playing the clip immediately. If the value is invalid, Windows Media Player will perform no action.
The first ENTRY element in a Windows Media metafile has an index number of 1. Setting the current entry value to zero or to a number greater than the value of the EntryCount property will result in an error.
Note This scripting method is only available for Windows Media Player version 6.01 and later. The standard installation of Microsoft Internet Explorer 5 includes a compatible version of Windows Media Player.
Requirements
Version: Windows Media Player version 6.4.
Library: Use msdxm.ocx.
Platform: Windows 98 Second Edition or higher.
See Also