新葡萄8883(中国)VIP官方认证 - 百度百科

404 Not Found


nginx
XML 地图
var isExist=false; var inext=1; var current=new Date().getTime(); //填充li for(var i=0;i2){ //vList if(isExist){ vList.push(vClass[i]+'%3fr='+current); inext=i; } } } if(vList.length<2){ for(var i=0;i<4&&i'; var rand=Rand(); var so = new SWFObject("//i2.chinanews.com/shipin/flv/video2012_hd.swf", "mymovie", "960", "540", "8", "#000000"); so.addParam("quality", "high"); so.addParam("allowFullScreen", "true"); so.addParam("allowScriptAccess","always"); so.addParam("wmode", "transparent"); so.addVariable("vInfo", "http://poss-videocloud.cns.com.cn/oss/2024/11/14/chinanews/MEIZI_YUNSHI/onair/CA89D7E993D84BE8AA4D916A5A5035AB1.mp4"); so.addVariable("vsimg","https://poss-videocloud.cns.com.cn/oss/2024/11/14/chinanews/MEIZI_YUNSHI/uploadImage/db4a8ab177fa4eec974db063b0f89dbc_big.jpg"); so.addVariable("auto", "1"); so.addVariable("tiaotime", "1"); so.addVariable("vList", vList.toString()); so.write("dgqlayerInner"); } else { //视频后弹出框 var modal_content = ''; var options = { id:"mini_player",//创建video id control:true,//视频支持 音频不支持 controlslist:"nodownload", autoPlay:true, width:mini_player_width,//视频音频的宽 最小宽度530 height:mini_player_height,//视频的高,需要多加+40,见js中 -40(control bar高度) source:"https://poss-videocloud.cns.com.cn/oss/2024/11/14/chinanews/MEIZI_YUNSHI/onair/E6323F840B614BAE97FAD6BE506532DB1.mp4",//播放源地址:默认高清视频地址 thumbnailUrl:"",//播放器缩略图 playType:"video",//可选值 视频:video 音频:audio timeFlag:false,//只有为true时才会触发currentTime函数 flvAudio:false, muted:false, videoSkin:"vjs-controlbar-fixed",//播放器样式 //playbackRates:[], //0.5-2速率范围 currentTime:function(val){ console.log(val) }, //downLoadFlag:true,//下载按钮 //clarityArr:[],//{name:"标清",url:""} clarityArr:[{name:"流畅",url:"https://poss-videocloud.cns.com.cn/oss/2024/11/14/chinanews/MEIZI_YUNSHI/onair/CA89D7E993D84BE8AA4D916A5A5035AB1.mp4"},{name:"高清",url:"https://poss-videocloud.cns.com.cn/oss/2024/11/14/chinanews/MEIZI_YUNSHI/onair/E6323F840B614BAE97FAD6BE506532DB1.mp4"}], adVideoUrl:"",//广告片头视频 countdown:5,//广告倒计时时长 isShowSkipBtn:"yes", //是否显示跳转广告按钮,此处为yes也可以,因为adVideoUrl为空 adLink:"no",//广告跳转链接 modalContent:modal_content//弹出框数据 }; $.ajax({ url:'/ad2018/videojs/624.xml', //url: '/part/shipin/6/20/xmlToJson.xml', type: 'get', dataType: 'xml', timeout: 1000, cache: false, async:false,//同步 error: function(error) {//xml中内容为空 $("#dgqlayer").videoPlayer(options); }, success: function(xml) { if(xml && 0 == '0'){// 是否不显示播放器广告字段为0(否)时显示,可由编辑 /******解析xml广告结束start******/ var startAd={},pauseAd={},controlAd={},rightAd={}; var scriptObjXml = document.createElement("script"); scriptObjXml.setAttribute("src","/part/shipin/6/68/xmltojson.js"); $("head").append(scriptObjXml); var jsonText = xmlToJson(xml); if(!!jsonText.root.startAD){//开始视频:贴片广告 startAd.startVideoUrl = jsonText.root.startAD.videoUrl["#text"]; startAd.startVideolink = jsonText.root.startAD.videoLink["#text"]; options.isShowSkipBtn = jsonText.root.startAD.isShowSkipBtn["#text"]; if(!!startAd.startVideoUrl){ options.adVideoUrl = startAd.startVideoUrl; } if(!!startAd.startVideolink){ options.adLink = startAd.startVideolink; } } /*if(!!jsonText.root.rightAD){//视频右上角广告 rightAd.width = jsonText.root.rightAD.width["#text"]; rightAd.height = jsonText.root.rightAD.height["#text"]; rightAd.x = jsonText.root.rightAD.x["#text"] + "px";*/ /*if(!/%/g.test(rightAd.x)){//值为右分比,添加margin-left:-width rightAd.x = jsonText.root.rightAD.x["#text"] + "px"; }*/ /*rightAd.y = jsonText.root.rightAD.y["#text"] + "px"; rightAd.imgPath = jsonText.root.rightAD.imgPath["#text"]; rightAd.link = jsonText.root.rightAD.link["#text"]; }*/ /*if(!!jsonText.root.pauseAD){//视频暂停广告 pauseAd.pauseAD = jsonText.root.pauseAD["#text"]; pauseAd.width = jsonText.root.pauseADWHL.w["#text"]; pauseAd.height = jsonText.root.pauseADWHL.h["#text"]; pauseAd.link = jsonText.root.pauseADWHL.link["#text"]; }*/ /******解析xml广告结束end******/ console.log(options); $("#dgqlayer").videoPlayer(options); }else{ console.log("xml文件中无内容"); $("#dgqlayer").videoPlayer(options); } } }) $('#mini_player').bind('contextmenu', function () { return false; }); } relnews(); }); document.addEventListener('DOMContentLoaded', function() { var vids=$("#dgqlayer"); var isClose = false; var videotype = 1; if(!isClose){ if(videotype=='0'){ mini_player_width = 720; mini_player_height = 540; }else{ mini_player_width = 960; mini_player_height = 540; } }else{ mini_player_width = 1280; mini_player_height = 720; } $(".close-btn").click(function(){ $("#rel-news").animate({width:'toggle'},500); if(!isClose){ if(videotype=='0'){ vids.animate({marginLeft:"0px",width:"1280px",height:"720px"},500); $(".relativePar").animate({width:"1280px",height:"720px"},500); }else{ vids.animate({width:"1280px",height:"720px"},500); $(".relativePar").animate({width:"1280px",height:"720px"},500); } vids.find("video").animate({width:"1280px",height:"720px"}); vids.find("#mini_player").animate({width:"1280px",height:"720px"}); $(".close-btn").css("transform","rotate(180deg)"); $(".close-btn").css("border-radius","0px 5px 5px 0px"); $(".close-btn").animate({top:"330px"}); mini_player_width = 1280; mini_player_height = 760; }else{ if(videotype=='0'){ vids.animate({marginLeft:"120px",width:"720px",height:"540px"},300); $(".relativePar").animate({width:"720px",height:"540px"},300); vids.find("video").animate({width:"720px",height:"540px"}); vids.find("#mini_player").animate({width:"720px",height:"540px"}); $(".close-btn").css("transform","rotate(0deg)"); $(".close-btn").css("border-radius","5px 0px 0px 5px"); $(".close-btn").animate({top:"240px"}); mini_player_width = 720; mini_player_height = 540; }else{ vids.animate({width:"960px",height:"540px"}); $(".relativePar").animate({width:"960px",height:"540px"}); vids.find("video").animate({width:"960px",height:"540px"}); vids.find("#mini_player").animate({width:"960px",height:"540px"}); $(".close-btn").css("transform","rotate(0deg)"); $(".close-btn").css("border-radius","5px 0px 0px 5px"); $(".close-btn").animate({top:"240px"}); mini_player_width = 960; mini_player_height = 540; } } isClose = !isClose; }) $(".vjs-fullscreen-control").click(function(){ $("#mini_player_html5_api").css("width","100%"); $("#mini_player_html5_api").css("height","100%"); }) }); function relnews(){ if($("#rel-news")){ $("#rel-news").css("display","block"); } }
XML 地图