var $=function(value){return document.getElementById(value)}
var killErrors=function(value){return true}
window.onerror=null
window.onerror=killErrors
var Player={'ParentUrl':parent.document.URL,'ParentServerName':parent.server_name.split("$$$"),'ParentPlayerName':parent.player_name.split("$$$"),'Urllist':decodeURIComponent(parent.url_list).split("$$$"),'Id':'','Sid':'','Pid':'','Url':'','NextUrl':'','UrlName':'','UrlNextName':'','ServerUrl':'','ServerName':'','PlayerName':'','LastWebPage':'','NextWebPage':'','Buffer':ff_buffer,'Pase':ff_buffer,'Width':width,'Height':height,'Down_Gvod':'http://union.ff84.com/ads/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}
$('topcc').innerHTML=' <div id="playppvod" style="height:26px
line-height:26px
overflow:hidden">正在播放:'+parent.list_name+' '+parent.vod_name+' '+this.UrlName+'</div> '
$('topleft').innerHTML=' <a href="'+this.LastWebPage+'">上一集</a> <a href="'+NextWebPage+'">下一集</a> '
$('topright').innerHTML=' <a href="javascript:void(0)">开启/关闭列表</a> '
$('playright').style.height=height+'px'
$('playleft').innerHTML=' <iframe id="buffer" width="100%" scrolling="no" height="'+height+'" frameborder="0" style="display:none
" src=""> '+$Showhtml()
$('playright').innerHTML=' <div id="list" style="display:'+list_show+'
height:'+height+'px">'+this.CreateList()+'</div> '
if(this.PlayerName=='qvod'||this.PlayerName=='bdhd'){$('buffer').src=ff_buffer}
document.write(' <scr'+'ipt type="text/javascript" src="http://union.ff84.com/ads/ff84.js"></scr'+'ipt> ')},'CreateList':function(){var count_play=this.ParentPlayerName.length
var html=''
for(var i=0
ii++){if(this.Sid==i){ul_display='display:block'
h2class='h2_on'}else{ul_display='display:none'
h2class='h2'}
var count_urls=this.Urllist.split("+++")
var sid_on
var sub_on
var html_sub
html_sub=' <ul id="sub'+i+'" style="'+ul_display+'"> '
html+=' <div id="main'+i+'" class="'+h2class+'"> '}
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<=n
i++){$('main'+i).className='h2'
$('sub'+i).style.display='none'}
$('main'+no).className='h2_on'
if(subdisply=='none'){$('sub'+no).style.display='block'}else{$('sub'+no).style.display='none'}},'Install':function(){var downurl=eval('ff_'+this.PlayerName)
$("install").innerHTML=' <iframe width="100%" scrolling="no" height="'+height+'" frameborder="0" vspale="0" noresize="" marginheight="0" framespacing="0" marginwidth="0" src="http://union.ff84.com/ads/'+this.PlayerName+'.html###'+downurl+'###ffvod" border="0"> '
$('install').style.display='block'},'Play':function(){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-1)
this.Url=this.ServerUrl+UrlArr[this.Pid].split("++")[1]
this.NextUrl=this.ServerUrl+UrlArr[Math.min(this.Pid+1,UrlArr.length-1)].split("++")[1]
this.UrlName=UrlArr[this.Pid].split("++")[0]
this.UrlNextName=UrlArr[Math.min(this.Pid+1,UrlArr.length-1)].split("++")[0]
this.LastWebPage=this.ParentUrl.replace('sid-'+this.Sid+'-pid-'+this.Pid,'sid-'+this.Sid+'-pid-'+Math.min(Math.abs(this.Pid-1),UrlArr.length-1))
this.NextWebPage=this.ParentUrl.replace('sid-'+this.Sid+'-pid-'+this.Pid,'sid-'+this.Sid+'-pid-'+Math.min(this.Pid+1,UrlArr.length-1))
if(this.Url==this.NextUrl){this.NextWebPage=''}
document.write(' <scr'+'ipt type="text/javascript" src="'+this.PlayerName+'.js"></scr'+'ipt> ')}}
Player.Play();
[ 本帖最后由 woyo 于 2011-6-19 08:04 编辑 ] |