Windows Media Player SDK banner art
PreviousNext

Settings.invokeURLs

The invokeURLs property specifies or retrieves a value indicating whether URL events should launch a Web browser.

Syntax

player.settings.invokeURLs

Possible Values

This property is a read/write Boolean.

Value Description
true Default. URL events should launch a browser.
false URL events should not launch a browser.

Remarks

Media files can contain Uniform Resource Locators (URLs). When a URL is sent to the Windows Media Player control, it is passed first to the scriptCommand event handler regardless of the value in invokeURLs. After scriptCommand exits, Windows Media Player checks invokeURLs to determine whether to launch the default Internet browser with the URL. You can selectively display URLs by checking them in scriptCommand and setting invokeURLs as desired.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.