![]() Here's the relevant code: m_windowsMediaPlayer.URL = GetVideoFileFullPath() This question Windows Media Player control - get/set video position? shows that setting currentPosition works for some people. It still starts playing at 6 seconds again. ![]() This question Embedded Windows Media Player Set Position is slow suggests that the problem could be caused by a low number of key frames, but it doesn't matter whether I try to set it to 30 seconds or 1200 seconds. This is how I'm trying to change the current position: My problem is that when I try to set the current position, it either sets the current position to zero (before it starts to play or when it's paused) or a small number such as 6 (if it's already playing). I want to be able to start the video at a particular position and then stop playing after a certain number of seconds. ![]() I'm using a windows media control (AxWMPLib.AxWindowsMediaPlayer) in a Winforms app to play an mp4 video.
0 Comments
Leave a Reply. |