Windows Media Player integrated in C # Video Speed โ€‹โ€‹Change

I currently have a Windows media player built into my winform in C #, and now I'm trying to make a button to control the video playback speed. Currently I can use the controls to play, pause and stop found in ctlcontrols, but can't find a way to change the video playback speed using a button in my form? An example of my code to pause the video in it: axWindowsMediaPlayer1.Ctlcontrols.pause (); But I need some code to change the speed of the game, so any help would be greatly appreciated.

thanks

+4
source share
1 answer

Settings.Rate is what you are looking for: double speed, 1.0 - normal speed.

axWindowsMediaPlayer1.settings.rate = speed; 

To rewind :

 if (axWindowsMediaPlayer1.controls.isAvailable('FastReverse')) axWindowsMediaPlayer1.controls.fastReverse(); 

For complete help on the script, check the documentation .

+2
source

All Articles