Windows Media Player SDK banner art
PreviousNext

MediaCollection.add

The add method adds a new media item to the media library.

Syntax

player.mediaCollection.add(URL)

Parameters

  URL

String containing the URL.

Return Values

This method returns a Media object.

Remarks

This method loads an existing media item into the content database, given a URL.

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.