The CurrentMediaItemAvailable event occurs when a graphic metadata item in the current media item becomes available.
String containing the name of the current media item.
This event does not return a value.
Because playback can begin before a media item is fully downloaded, any metadata graphics contained in the media item (such as album cover art) may not be available when it starts to play. This event alerts you when a metadata graphic item is finished downloading. You can then retrieve the Media object by passing the value of bstrItemName to the MediaCollection.getByName method, after which you can access the metadata graphic item by using Media.getItemInfoByType and specifying WM/Picture for the attribute name.
The value of event parameters is specified by Windows Media Player, and can be accessed or passed to a method in an imported JScript file using the parameter name given. This parameter name must be typed exactly as shown, including capitalization.
Windows Media Player 10 Mobile: This event is not supported.
Windows Media Player version 7.0 or later.