Windows Media Player 11 SDK Player.launchURLÂ
Previous | Next |
Player.launchURL
The launchURL method sends a URL to the user's default browser to be rendered.
Syntax
player.launchURL(URL)
Parameters
URL
String value representing the URL to launch.
Return Values
This method does not return a value.
Remarks
This method only opens Web pages using the HTTP or HTTPS protocols.
Windows Media Player 10 Mobile: This method is not supported.
Example Code
The following example creates an HTML BUTTON element that, when clicked, displays the Microsoft Web site in a new browser window. The Player element was created with ID = "Player".
Requirements
Version: Windows Media Player version 7.0 or later.
Library: Use wmp.dll.
See Also
Previous | Next |