0

get the paused time for a video?

Hi,
I am using the following script for the default video playback, but i would like to get the time (in seconds) when I pause the video (as a java script alert or something), then i can use the logic whatever i have ....I just need to get the time every time i click pause....Is this possible and how?

Here is the html code:

CODE
<html>
<head>video</head>
<body>
<div id="uvp_fop_container" style="width:512px;height:322px;">
<a href="http://www.adobe.com/products/flashplayer/">Please Install Flash</a>
</div>
<script type='text/javascript' language='javascript' src='http://us.js2.yimg.com/us.js.yimg.com/lib/flash/swfobject/1.0/swfobject.js'></script>
<script type="text/javascript">
var so = new SWFObject('http://d.yimg.com/cosmos.bcst.yahoo.com/up/fop/embedflv/swf/fop.swf', 'uvp_fop',
'512', '322', '9', '#ffffff');
so.addVariable('id', 'v46805699');
so.addVariable('eID', '1301797'); // NEEDS TO CHANGE DEPENDING ON LOCALE
so.addVariable('ympsc', '4195351'); // NEEDS TO CHANGE DEPENDING ON LOCALE
so.addVariable('lang', 'en'); // NEEDS TO CHANGE DEPENDING ON LOCALE
so.addVariable('shareEnable', '1');
so.addParam("allowFullScreen", "true");
so.addVariable('enableFullScreen', '1');
so.addVariable('autoStart', '0');
so.addVariable('eh', 'myCallbackEventHandler');
so.addParam("allowScriptAccess", "always"); // for scripting access
so.write('uvp_fop_container');
</script>

</body>
</html>


Please let me know if this is possible....thanks
ash

by
0 Replies
This forum is locked.

Recent Posts

in Video Player