var useCounts191=0;
var playCount191=0;
var favCounts191=0;
function stng191()
{
if(playCount191==0){$.getJSON(Geturl(5,191),function (json){$('#playtime191')[0].innerHTML=json.Item;});playCount191=1;}
}
function ding191(flag)
{
var str='#badtime191';
if(flag==1)
{
str='#GoodTime191';
}
$.getJSON(Geturl(flag,191),function (json){if(json.Item!=null){$(str)[0].innerHTML=json.Item;}if(json.Info!=null){alert(json.Info);}});
}
document.getElementById("object191").SetVariable("urllk",top.location.toString())
纽曼M600摇动换歌与灯效演示视频[原创]
播放:33 | 收藏:0 | 引用:1
顶 0踩0收藏引用上传视频
RequestJson('191');
var orginFlash = {init:false,isFullScreen:false,position:'',top:'',left:'',width:'',height:''};
function writeFlash(){
var so = new SWFObject('/Files/BeyondPic/2008-11/7/player.swf', 'object191', '480', '400', 8, '#FFFFFF');
so.addParam('quality', 'high');
so.addVariable('file','191');
so.addVariable('screen','0');
so.addParam("swLiveConnect", "true");
so.addParam('menu', 'false');
so.addParam('allowScriptAccess', 'always');
so.addParam('allowFullScreen', 'true');
so.addParam('wmode', 'transparent');
so.write('flvurl191');
}
function getScreenSize(){
var w = 0;
var h = 0;
if( typeof( window.innerWidth ) == 'number' ) {
w = window.innerWidth;
h = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
w = document.documentElement.clientWidth;
h = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
w = document.body.clientWidth;
h = document.body.clientHeight;
}
return {width:w,height:h};
}
function fullScreen(){
if(!orginFlash.init){
orginFlash.position = document.getElementById('flvurl191').style.position;
orginFlash.top = document.getElementById('flvurl191').style.top;
orginFlash.left = document.getElementById('flvurl191').style.left;
orginFlash.width = document.getElementById('flvurl191').style.width;
orginFlash.height = document.getElementById('flvurl191').style.height;
}
orginFlash.init = true;
orginFlash.isFullScreen = true;
var screenSize = getScreenSize();
try{
document.getElementById('flvurl191').style.position = 'absolute';
document.getElementById('flvurl191').style.top = '0px';
document.getElementById('flvurl191').style.left = '0px';
document.getElementById('flvurl191').style.width = screenSize.width ;
document.getElementById('flvurl191').style.height = screenSize.height;
document.body.style.overflow='hidden';
window.scrollTo(0,0);
}catch(e){
}
}
function normal(){
if(orginFlash.init){
orginFlash.isFullScreen = false;
try{
document.getElementById('flvurl191').style.position = orginFlash.position;
document.getElementById('flvurl191').style.top = orginFlash.top;
document.getElementById('flvurl191').style.left = orginFlash.left;
document.getElementById('flvurl191').style.width = orginFlash.width;
document.getElementById('flvurl191').style.height = orginFlash.height;
document.body.style.overflow='auto';
}catch(e){
}
}
}
function reSize(){
if(orginFlash.isFullScreen){
fullScreen();
}
}
window.onresize = reSize;
writeFlash();