Expand Minimize

Player.openPlayer method

The openPlayer method opens Windows Media Player using the specified URL.

Syntax


Player.openPlayer(
  URL
)

Parameters

URL [in]

String representing the URL of the media item to play.

Return value

This method does not return a value.

Remarks

This method launches Windows Media Player with the specified URL set as the current media item. If the Player was previously closed in skin mode it will open using the skin last chosen by the user. Otherwise, the Player opens in full mode.

If this method is called from a Windows Media PlayerActiveX control embedded in remote mode, its behavior is identical to the PlayerApplication.switchToPlayerApplication method.

Windows Media Player 10 Mobile: This method is not supported.

Requirements

Version

Windows Media Player 9 Series or later.

DLL

Wmp.dll

See also

Player Object
PlayerApplication.switchToPlayerApplication

 

 

Community Additions

ADD
Show:
© 2014 Microsoft