Windows Media Player 11 SDK PLAYLIST.itemMedia 

Windows Media Player SDK banner art

Previous Next

PLAYLIST.itemMedia

The itemMedia attribute retrieves the Media object corresponding to the given index in the PLAYLIST element.

Syntax

  

Parameters

index

Number (long) containing the index of a playlist item.

Possible Values

This attribute is a read-only Media object.

Remarks

The itemMedia property will return media objects that are expanded in the PLAYLIST element. For example, if there is a playlist that contains three media clips that is not expanded in the PLAYLIST element, itemMedia(0) will return the playlist as the media object. If the playlist is expanded, itemMedia(0) will return the first media clip in the playlist.

Requirements

Windows Media Player 9 Series or later.

See Also

Previous Next