play.js

来自「Qvod完美点播专家 01.网站地图系统 02.广告管理系统 03.A」· JavaScript 代码 · 共 28 行

JS
28
字号
//播放器广告代码Qvodcms.com
var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
adCount=0;
function initPopup(){
  if(!ns && !ie && !w3) return;
  if(ie)      adDiv=eval('document.all.lbplocation.style');
  else if(ns) adDiv=eval('document.layers["lbplocation"]');
  else if(w3) adDiv=eval('document.getElementById("lbplocation").style');
  if (ie||w3) adDiv.visibility="visible";
  else        adDiv.visibility ="show";
  showPopup();
}
function showPopup(){
var state;
state = QvodPlayer.PlayState;
if (state==3){
  closePopup();}
setTimeout("showPopup()",100);
}
function closePopup(){
if (ie||w3)
adDiv.display="none";
else
adDiv.visibility ="hide";
}
onload=initPopup;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?