if(typeof(VideoListJson) == 'undefined'){ VideoListJson = []; VideoInfoList = VideoInfoList.split('$$$'); for(var i = 0; i < VideoInfoList.length; i++){ var vod = VideoInfoList[i].split('$$'); VideoListJson[i] = [vod[0], vod[1].split('#')]; } }
viewplay2 = viewplay; viewplay = function(param1,param2){ getplay = function(param1, param2) { var x = VideoListJson,mov,Arr; if (x.length > 0) { mov = new String(VideoListJson[param1][1][param2]); Arr = mov.split('$'); return [VideoListJson[param1][0], Arr[0], Arr[1]]; } else { return ['', '', '']; } }; var a = VideoListJson[param1][1][param2]; playdata = getplay(param1, param2); // 0 -> 集 1 -> 地址
var playername= playdata[0];//播放器名称 var vodname = playdata[1];//影片名称 var url = playdata[2];//播放地址 if(playername=="吉吉影音" || playername=="jjvod"){ addjjvod(url); }else{ return viewplay2(param1,param2); } }
//播放状态控制 function jjvodstatus(offest){ if(document.getElementById('jjvodPlayer').PlayState==3){ document.getElementById('jjad').style.display='none'; }else if(document.getElementById('jjvodPlayer').PlayState==2 || document.getElementById('jjvodPlayer').PlayState==4){ document.getElementById('jjad').style.display='block'; } } //JJVOD代码 function addjjvod(url){ if(!!window.ActiveXObject || "ActiveXObject" in window){ adh=jjvod_h-63; document.write("
