Share via


Windows Media Player 11 SDK Player.newMedia 

Windows Media Player SDK banner art

Previous Next

Player.newMedia

The newMedia method creates a new Media object.

Syntax

  

Parameters

URL

String containing the URL of the digital media file to create the Media object with.

Return Values

This method returns a Media object.

Remarks

The URL parameter must not be an empty string or null.

Requirements

Version: Windows Media Player 9 Series or later.

Library: Use wmp.dll.

See Also

Previous Next