javascript to check for the time played

Jun 24, 2011 at 5:23 PM

I am using javascript to show silverlight media player in my web browser. However I want to know what is the current position of the movie is (time wise)  and I am not sure how to get the time. I can get the volume for the player from the APIS using the following code but not the time or the status of player. Status meaning is the movie playing or is it stopped or paused. Any help will be appreciated.

this.item = function(){



which works fine but I also want the current status of the media. Whats the property for that. I didnt see that in api docs