Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Player.newMedia method

The newMedia method creates a new Media object.

Syntax


retVal = Player.newMedia(
  URL
)

Parameters

URL [in]

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

Return value

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.

DLL

Wmp.dll

See also

Player Object

 

 

Show: