Windows Media Player control - get/set video position?

m0s picture m0s · Apr 8, 2011 · Viewed 12.6k times · Source

I am using Windows Media Player ActiveX (axWindowsMediaPlayer) component in C# WinForms application. Is it possible to get and set the current position of the video that is being played using this control?

Answer

loraderon picture loraderon · Apr 8, 2011

axWindowsMediaPlayer1.Ctlcontrols.currentPosition = positionInSeconds;