Microsoft Windows CE 3.0  

Error

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Occurs when the Microsoft Windows Media Player control has an error condition.

Compatibility:Windows Media Player

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

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 ErrorDescriptionproperties.