I am trying to develop an .NET application with a Windows Media Player control embedded to play .MOV files. This works fine but I need to synchronize the current video position with other files containing data related to the video.
So I need to get the currentPosition property of the Media Player as the video plays. I tried putting a Timer control on the form and then gettting the player's currentPosition property inside the timer's tick event. But for some reason the timer event does not fire when the Media Player starts. (I checked this several times - if the player is not playing, the tick event fires, but if it is playing, no tick event!).
Can anyone explain this to me or suggest an alternative for me to sequentially get the currentPosition property of the Media Player in code. I am using Visual Studio 2008 with .NET 3.5.