Error

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Compatibility: Windows Media Player

Syntax

<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

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Events

Concepts

Compatibility Modes