I am using the AxWindowsMediaPlayer control in a Winforms C# application and I would like to set the player to pause on the last frame when the video is finished playing. I already handle the fact that the video is finished to display another control with a different content over the player, but I want to avoid the blank frame that shows up in between.
Is it possible to configure the player to pause on the last frame? Or is there an event I could handle to set the video to pause on the last last frame or the last few milliseconds?
PS. The PositionChange event seems to be raised only when the position is set by the user or in code so I can't use it. The MarkerHit event seemed promising, but I can't find any way to set a marker in the video so that didn't work either.