js 代码
"onClickToPlay('surq%3B..dwnevlurusd%60l%2Fcebiho%60%2Fbnl.89110.551447.4.e16000411001101110%5E%7B%2Fvlw%3Eunjdo%3C8D2C9E65G60B68D350%409BE21%405E0E07012%408093094B43001G9E00CG84B%40CBD886C36E0D58BD1D414%40022B55E4C264B294C758E8DCD29C15C160G48%40236G372GC45E9EE531BB338C4B3B72DEG12DB5E%27bnoudouHoedy%3C0%27bnoudouHe%3C0352137', '我和僵尸有个约会1[1]', ',我和僵尸有个约会1[1]', '1', '1243026', '1')"
js 代码
onClick=
function onClickToPlay(playurl, playName, contentFAName, mtype, contentId, contentIndex) { if(typeof(playurl)=="undefined") playurl="" if(typeof(playName)=="undefined") playName="" if(typeof(contentFAName)=="undefined") contentFAName="" if(typeof(mtype)=="undefined") mtype="" if(typeof(contentId)=="undefined") contentId="" if(typeof(contentIndex)=="undefined") contentIndex="0" playerurl += "?playurl=" + playurl; playerurl += "&playName=" + playName; playerurl += "&contentFAName=" + contentFAName; playerurl += "&mtype=" + mtype; playerurl += "&contentId=" + contentId; playerurl += "&contentIndex=" + contentIndex; self.name="WinPlayer"; self.resizeTo("600","400"); var winPlayer=window.open( playerurl,'_self','scrollbars=no,resizable=yes,width=600,height=400',true); // var winPlayer=window.open( playerurl,'WinPlayer','scrollbars=no,resizable=yes,width=600,height=400',true); winPlayer.name = 'WinPlayer'; // window.close(); }
js 代码
//播放一个影音文件 function openPlay(url){ if(url==''){ return; } var popUpSizeX=844; var popUpSizeY=541; var popUpLocationX=Math.round((screen.width-popUpSizeX)/2); var popUpLocationY=Math.round((screen.height-popUpSizeY)/2); if (popUpLocationX<0) popUpLocationX=0; if (popUpLocationY<0) popUpLocationY=0; var splashWin = window.open(url,'MovieDetail','width='+popUpSizeX+',height='+popUpSizeY+',top='+popUpLocationX+',left='+popUpLocationY+',toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1'); splashWin.focus(); } >影音