Media.error

The error property retrieves an ErrorItem object if the media item has an error condition.

Syntax

player.currentMedia.error

Possible Values

This property is a read-only ErrorItem object.

Remarks

If the media item cannot be played, this property retrieves an ErrorItem object that contains information about the problem encountered.

Requirements

Version
Windows Media Player for Windows XP or later.
DLL
Wmp.dll

See also

ErrorItem Object

Media Object