Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Stops playback of the current clip.
Compatibility:Windows Media Player, ActiveMovie
MediaPlayer.Stop( )
Return Values
No return value.
Remarks
If the value of the SendPlayStateChangeEventsproperty is true and the file is not currently stopped, calling this method causes a PlayStateChangeevent to occur.
Calling this method results in the following behavior:
This behavior is different than pressing the stop button on the Microsoft Windows Media Player application, which always resets the current position to zero. To halt a play operation without changing the current position no matter how the file is encoded, use the Pausemethod.
This method causes the Windows Media Player control to release any system resources it is using, such as the audio device.
This method also resets the Rateproperty to the default value of 1.0.
See Also
FastForward, FastReverse, Pause, Play, Run, Playback Methods and Properties