How to fetch progress of media

Oct 29, 2010 at 5:10 PM

Personally, I don't like the UI of SMF and I don't know how to change it so I put some buttons and a slider and hide the smfPlayer.

Now, here is the problem. How to fetch the progress of current playing media? And how to update the value of my slider?

 

I notice that smfPlayer.EndPosition and smfPlayer.PlaybackPosition coule be useful. But I don't know how to use them.