View Full Version : How to keep track of playback time please?

11-01-2006, 02:19 PM
I put a WMP in my web page:

<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" class="OBJECT" id="MediaPlayer" width="384" height="357">
<param name="ShowStatusBar" value="-1">
<param name="Filename" value="temp.wmv">
<embed type="application/x-oleobject" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" filename="temp.wmv" src="temp.wmv" width="384" height="357">

After the video is fully loaded, I am wondering whether I can get the remaining playback time via Javascript, wherever the playback slide bar is set?

For e.g., after the video (20 seconds long) is fully loaded, I slide the playback bar to 15 seconds. How can I get the (20-15)=5 seconds and put it in an variable dynamically by Javascript please?

Thanks for any ideas in advance!

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum