Share via


Error (Windows Embedded CE 6.0)

1/6/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