'; html += '
  • '; if(video3==''){ html += '
  • '; }else{ html +='
  • '; } html += ''; } return html; } function localVideo(video1,video2,video3,thumb1,thumb2,thumb3,startPic){//本地回放 var html = ''; if(video1!='' && video2=='' && video3==''){ html += '
    '; if(2274 == '1325'){//習頭像被覆蓋,因此將按鈕置于左下角 html += '
    '; }else if(video1!='' && video2!=''){ html += '
    '; html += ''; html += '
    '; html += ''; } return html; } function qkVideo(video1,video2,video3,thumb1,thumb2,thumb3){ var html = ''; if(video1!='' && video2=='' && video3==''){ html += '
    '; html += ''; html += '
    '; }else if(video1!='' && video2!=''){ html += '
    '; html += ''; html += '
    '; html += ''; } return html; } function switchVideo(url,thumbpic,baseUrl){ $(".centerTips").hide(); $(".video").show(); $("#myVideo #myVideo_html5_api source").attr("src",url); $("#myVideo #myVideo_html5_api").attr("src",url); $("#myVideo #myVideo_html5_api").attr("poster",thumbpic); $("#myVideo .vjs-poster").attr("style","background-image: url('" + thumbpic +"');"); var videoUrl = $("#myVideo #myVideo_html5_api source").attr("src"); videojs("myVideo", {techOrder: ['html5', 'flash']}, function() { window.myPlayer = this; //502 502"#myVideo #myVideo_html5_api source").attr("src", videoList2[502 502this).index()]); //myPlayer.src(videoUrl); myPlayer.load(videoUrl); myPlayer.play(); }); } function switchFlash(url,thumbpic,baseUrl){ //alert(url); var embedHtml = ''; $(".centerTips").hide(); $(".video").empty(); embedHtml = ''; $(".video").html(embedHtml); $(".video").show(); } /* function changeSource(player,src) { player.pause(); player.currentTime(0); player.src(src); player.ready(function() { this.one('loadeddata', videojs.bind(this, function() { this.currentTime(0); })); this.load(); this.play(); }); }*/ $(document).ready(function(){ topnav2(); topnav1(); var thmub1,thumb2,thumb3,ifvideo1,ifvideo2,ifvideo3,lcvideo1,lcvideo2,lcvideo3,status,startPic,html='',varname,videojsList={},videoJsScript,head; thumb1 = "U380P4T309D2274F22450DT20190810225057.jpg"; thumb2 = ""; thumb3 = ""; ifvideo1 = "//cloud.quklive.com/cloud/a/embed/1565448264899770".replace(/http/ig,'https').trim(); //ifvideo1 = "//cloud.quklive.com/cloud/a/embed/1565448264899770"; ifvideo2 = "".replace(/http/ig,'https').trim(); ifvideo3 = "".replace(/http/ig,'https').trim(); lcvideo1 = '//video.chinanews.com/replay/flv/qukan/2019/1565550604663.mp4'.replace(/http/ig,'https').trim(); lcvideo2 = ''.replace(/http/ig,'https').trim(); lcvideo3 = ''.replace(/http/ig,'https').trim(); status = 'js'; startPic = 'U380P4T309D2274F13828DT20190810225057.jpg'; var pageUrl = window.location.href; var baseUrl = pageUrl.substring(0,pageUrl.lastIndexOf("/") + 1); if(isIEVer(7) || isIEVer(8) || isIEVer(6)){//低版本使用flash addElement(); /*if(status=='js' && lcvideo1 !=''){//回放 且 本地地址1不為空 html += ieLocalVideo(lcvideo1,lcvideo2,lcvideo3,thumb1,thumb2,thumb3); } 502 502".videoWrap").html(html);*/ } if(status=='yg'){//預告 if(ifvideo1!=''){ html = html+'
    '; } }else if(status=='qukan'){//直播 if(ifvideo1!='' && ifvideo2=='' && ifvideo3==''){ html = html+'
    '; }else if(ifvideo1!='' && ifvideo2!=''){ html += '
    '; html += ''; } }else if(status=='js'){//回放 //判斷是否有本地回放地址,若有使用本地videojs,若無則使用iframe if(lcvideo1 !=''){//本地回放地址 if(isIEVer(7) || isIEVer(8) || isIEVer(6)){ html += ieLocalVideo(lcvideo1,lcvideo2,lcvideo3,thumb1,thumb2,thumb3,startPic,baseUrl); }else{ html += localVideo(lcvideo1,lcvideo2,lcvideo3,thumb1,thumb2,thumb3,startPic); } }else{ $(".centerTips").hide(); $(".video").show(); html += qkVideo(ifvideo1,ifvideo2,ifvideo3,thumb1,thumb2,thumb3); } } $(".videoWrap").html(html); if(isIEVer(7) || isIEVer(8) || isIEVer(6)){//低版本使用flash }else{ if(status=='js' && lcvideo1 !=''){ myPlayer = videojs('myVideo',{techOrder: ['html5', 'flash']}); } } /*視頻切換*/ var videoList = [ifvideo1,ifvideo2,ifvideo3]; var videoList2 = [lcvideo1,lcvideo2,lcvideo3]; /*只有一個視頻時*/ /*if(502 502".videolist li").length==1){ 502 502this).css("width",'1000px'); }*/ /*多路視頻時*/ $(".videolist li").click(function(){ $(this).addClass("current").prepend("
    ").children(".whiteback").wrapInner("
    "); $(this).siblings().removeClass("current"); var index = $(this).index(); if(videoList2[0]){ if(status == 'qukan'){//直播(使用本地視頻時只限于回放狀態) $(".centerTips").hide(); $(".video").html(''); $(".video").show(); }else{//回放 if(isIEVer(7) || isIEVer(8) || isIEVer(6)){ //changeSource(myPlayer,videoList2[index]); if(index<2){ if(index==0){ switchFlash(videoList2[index],thumb1,baseUrl); }else{ switchFlash(videoList2[index],thumb2,baseUrl); } }else{ if(index==2){ if(videoList2[index]){ switchFlash(videoList2[index],thumb3,baseUrl); }else{ $(".centerTips").show(); $(".video").hide(); } } } }else{ if(index<2){ if(index==0){ switchVideo(videoList2[index],thumb1,baseUrl); }else{ switchVideo(videoList2[index],thumb2,baseUrl); } //switchVideo(videoList2[index]); }else{ if(index==2){ if(videoList2[index]){ switchVideo(videoList2[index],thumb3,baseUrl); }else{ $(".centerTips").show(); $(".video").hide(); } } } } } }else if(videoList[0]){ if(status == 'qukan'){//直播 if(index<2){ $(".centerTips").hide(); $(".video").html(''); $(".video").show(); }else{ if(index=2){ if(videoList[index]){ $(".centerTips").hide(); $(".video").html(''); $(".video").show(); }else{ $(".centerTips").show(); $(".video").hide(); } } } }else{//回放 if(index<2){ $(".centerTips").hide(); $(".video").html(''); $(".video").show(); }else{ if(index=2){ if(videoList[index]){ $(".centerTips").hide(); $(".video").html(''); $(".video").show(); }else{ $(".centerTips").show(); $(".video").hide(); } } } } }else{ $(".video").hide(); $(".centerTips").show(); } }); //502 502"#videoFrame #playIcon").attr('style','top: 210px;width:107px;left:40%;'); //console.log(videojsList[varname]); /*var myPlayer = videojs('myVideo');*/ /*console.log(myPlayer);*/ /*videojs("myVideo").ready(function(){ var myPlayer = this; //myPlayer.play(); });*/ /*頁面刷新*/ $(".refresh").change(function(){ var radioSelected = $("input[name=refresh]:checked").val(); if(radioSelected == 30){ setTimeout("javascript:reloadtext2(0,10);",30000); //502 502"input[name=refresh]").addAttribute('checked'); }else if(radioSelected == 60){ setTimeout("javascript:reloadtext2(0,10);",60000); } }); if(2274 == "1325"){ $(".video-js .vjs-big-play-button").css({"top":"495px","left":"25px"}); } }); function weibo(id) { document.getElementById("id8").className="dii8"+id; }
    滾動| 時政| 國際| 軍事| 社會| 港澳| 臺灣| 僑網| 經緯| 華人| 財經| 產經| 金融| 汽車| 娛樂| 體育| 文化| 理論| 生活| 圖片| 視頻| 直播
    回放

    湖北福彩网公告: “利奇馬”北上 山東嚴陣以待今年首個超強臺風

    p5今天开奖结果查询 www.zntmq.com 當前位置:p5今天开奖结果查询 > 新聞直播

    分享到:

    臺風“利奇馬”成為今年以來登陸我國強度最強的臺風,同時也是有記錄以來登陸浙江最強臺風的第三位。10日下午到11日,“利奇馬”繼續北上,將給江蘇北部、山東一帶帶來強降雨。9日13時起,24小時內山東各地已連續發出各級臺風、暴雨、雷電預警124個,全省正嚴陣以待今年首個超強臺風。

    圖文滾動

    刷新

    相關新聞
    邊看邊聊