Windows Media Player 11 SDK Controls.pauseĀ
Previous | Next |
Controls.pause
The pause method pauses playback of the media item.
Syntax
Parameters
This method takes no parameters.
Return Values
This method does not return a value.
Remarks
When a file is paused, Windows Media Player does not give up any system resources, such as the audio device.
Certain media types cannot be paused, such as live streams. To determine whether a particular media type can be paused, use Controls.isAvailable('Pause').
Example Code
The following example creates an HTML BUTTON element that uses pause to pause playback. 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 |