Error.webHelp method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The webHelp method launches the Windows Media Player Web Help page to display further information about the first error in the error queue (index zero).

Syntax

Error.webHelp()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

The Web Help pages always contain the latest and most detailed information about Windows Media Player errors. This method automatically transfers the other information needed by Web Help, such as the operating system version being used.

To access the Web Help pages directly, use the following error code and support center links.

Windows Media Player 10 Mobile: This method always succeeds, but does not perform the intended operation.

Examples

The following example creates an HTML BUTTON element that launches the Microsoft Windows Media Player Web Help page. The Player object was created with ID = "Player".

<INPUT TYPE = "BUTTON"  
       NAME = "WHBUTTON"  
       VALUE = "More Info"

OnClick = "Player.error.webHelp();

">

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later.
DLL
Wmp.dll

See also

Error Object