Search code examples
c#windows-media-playeraxwindowsmediaplayer

Windows Media Player control - get/set video position?


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?


Solution

  • axWindowsMediaPlayer1.Ctlcontrols.currentPosition = positionInSeconds;