Partager via


Error

This event occurs when the Windows Media Player control has an error condition.

Compatibility: Windows Media Player

<SCRIPT FOR="MediaPlayer" EVENT="Error( )" LANGUAGE="JScript">
  //insert script commands//
</SCRIPT>

Parameters

None.

Remarks

Use this event to trap errors. This event occurs when the Windows Media Player control reports an error during playback. To process the error in your script, use the Windows Media Player control ErrorCode and ErrorDescription properties.

Requirements

OS Versions: Windows CE 3.0 and later.

See Also

Windows Media Player Events | Compatibility Modes

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.