Partager via


Open (Windows Media Player)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method asynchronously opens the clip with the specified name.

Compatibility: Windows Media Player

Syntax

MediaPlayer.Open( 
    sTitleName 
)

Parameters

  • sTitleName
    [in] String value representing the name of the clip to open, including its protocol, path, or HTTP URL.

Return Value

None.

Remarks

This method performs the same function as setting the FileName property, but it works asynchronously, allowing the calling application to continue performing tasks while the clip is being opened.

Use the Cancel method to abort the Open method before the file is completely loaded.

Requirements

Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

Windows Media Player Methods
Cancel
FileName

Concepts

Compatibility Modes
Playback Methods and Properties