|
发表于 2012-2-28 08:39:43
|
显示全部楼层
格式化以后 看看能显示不能[ol] var $=function(value) { return document.getElementById(value) }; var killErrors=function(value) { return true }; window.onerror=null; window.onerror=killErrors; var Player= { 'ParentUrl':document.URL,'ParentServerName':server_name.split("$$"),'ParentPlayerName':player_name.split("$$"),'Urllist':decodeURIComponent(url_list).split("$$"),'Id':'','Sid':'','Pid':'','Url':'','NextUrl':'','UrlName':'','UrlNextName':'','ServerUrl':'','ServerName':'','PlayerName':'','LastWebPage':'','NextWebPage':'','Root':ff_root,'Buffer':ff_buffer,'Pase':ff_buffer,'Width':ff_width,'Height':ff_height,'Second':ff_second,'Down_Gvod':'http://union.ff84.com/ff20/gvod.html###'+ff_gvod+'###ppvod','Show':function() { if(ff_showlist==1) { var list_show='block' } else { var list_show='none' }; if(this.NextWebPage) { var NextWebPage=this.NextWebPage } else { var NextWebPage=this.ParentUrl }; $('topleft').innerHTML='[url=]\u4e0a\u4e00\u96c6[/url] [url=]\u4e0b\u4e00\u96c6[/url]'; $('topcc').innerHTML='\u6b63\u5728\u64ad\u653e\uff1a'+list_name+' '+vod_name+' '+this.UrlName+''; $('topright').innerHTML='[url=]\u5f00\u542f/\u5173\u95ed\u5217\u8868[/url]'; $('playleft').innerHTML=''+$Showhtml(); $('playright').style.height=this.Height+'px'; $('playright').innerHTML=''+this.CreateList()+''; document.write('') } ,'BufferHide':function() { $("buffer").style.display="none" } ,'CreateList':function() { var count_play=this.ParentPlayerName.length; var html=''; for(var i=0;i'; for(var j=0;j[url=]'+count_urls[j].split("++")[0]+'[/url]' }; html_sub+=''; html+=''; html+='>>'+eval('play_'+this.ParentPlayerName)+''; html+=html_sub; html+='' }; return html } ,'ShowList':function() { if($('list').style.display=="none") { $('list').style.display="block" } else { $('list').style.display="none" } } ,'Tabs':function(no,n) { var subdisply=$('sub'+no).style.display; for(var i=0;i') } ,'Play':function() { this.Html(); var URL=this.ParentUrl.match(/\d+.*/g)[0].match(/\d+/g); var Count=URL.length; this.Id=URL[(Count-3)]*1; this.Sid=URL[(Count-2)]*1; this.Pid=URL[(Count-1)]*1; this.ServerName=this.ParentServerName[this.Sid]; this.PlayerName=this.ParentPlayerName[this.Sid]; if(this.ServerName) { this.ServerUrl=eval('ff_'+this.ServerName) }; var UrlArr=this.Urllist[this.Sid].split("+++"); this.Pid=Math.min(this.Pid,UrlArr.length); this.Url=this.ServerUrl+UrlArr[this.Pid-1].split("++")[1]; this.NextUrl=this.ServerUrl+UrlArr[Math.min(this.Pid+1,UrlArr.length)-1].split("++")[1]; this.UrlName=UrlArr[this.Pid-1].split("++")[0]; this.UrlNextName=UrlArr[Math.min(this.Pid+1,UrlArr.length)-1].split("++")[0]; var LastPid=Math.max(Math.abs(this.Pid-1),1); this.LastWebPage=this.ParentUrl.replace('sid-'+this.Sid+'-pid-'+this.Pid,'sid-'+this.Sid+'-pid-'+LastPid).replace(this.Id+'-'+this.Sid+'-'+this.Pid,this.Id+'-'+this.Sid+'-'+LastPid); var NextPid=Math.min(this.Pid+1,UrlArr.length); this.NextWebPage=this.ParentUrl.replace('sid-'+this.Sid+'-pid-'+this.Pid,'sid-'+this.Sid+'-pid-'+NextPid).replace(this.Id+'-'+this.Sid+'-'+this.Pid,this.Id+'-'+this.Sid+'-'+NextPid); if(this.Url==this.NextUrl) { this.NextWebPage='' }; document.write('') } }[/ol]复制代码 |
|