Windows Media Player 11 SDK Media.sourceURL 

Windows Media Player SDK banner art

Previous Next

Media.sourceURL

The sourceURL property retrieves the URL of the media item.

Syntax

  
    
  

Possible Values

This property is a read-only String.

Example Code

The following JScript example uses Media.sourceURL to retrieve the URL of the first media item in the sample playlist; the URL of the media item is then assigned to the player object URL property. The Player object was created with ID = "Player".

  

Requirements

Version: Windows Media Player version 7.0 or later.

Library: Use wmp.dll.

See Also

Previous Next