The following JS to get video when the long code is found online, there is no test, need friends can refer to the following
Search on the Internet, because recently, but have not tried code as follows: <! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> <html xmlns=" http://www.w3.org/1999/xhtml "> <head> &NB Sp <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "/> <title> Untitled document </title> </head> &NB Sp <body> <p> <object id= "Player style=" Displa Y:none "height=" width= "classid=" Clsid:6bf52a52-394a-11d3-b153-00c04f79faa6 "> <param name= "Invokeurls" value= "1" > <param name= "AutoStart" value= "-1 "> <param name=" currentposition "value=" 0 "> <param name= ' Uimode ' value=' Mini ' > <param name= "url" value= "Test.mpg" > </O bject> </p> <input name= "Submit" type= "Submit" onclick= "GetInfo ()" & Gt <p> <script language= "JavaScript" >   ; var time; function GetInfo () { var Pl=document.getelementbyid ("Player") &nbs P time=pl.currentMedia.durationString; alert (parseint (pl.currentMedia.durationString.substring (0,2) *60)); //alert (parseint) (pl.currentMedia.durationString.substring (3,5)); alert (parseint (pl.currentMedia.durationString.substring (0,2) *60) +parseint ( Pl.currentMedia.durationString.substring (3,5))); </script> </p> </body> </html>