'; return b.getElementsByTagName('i').length === 1; } function topnav1(){ var _show = null; var _hideTimer = null; var planItems = $('ul.c-fl-ul li.division'); planItems.each(function(index) { var li = $(this); var div = li.find('div.navshow_div'); div.css("display","none"); li.bind('mouseenter',function() { if (_show != null) { clearTimeout(_show); } _show = setTimeout(function() { $('ul.nav_navcon li').addClass(''); li.addClass('topnav_sel'); }, 200); }); li.bind('mouseleave', function() { if (_show != null) { clearTimeout(_show); } _hideTimer = setTimeout(function() { li.removeClass('topnav_sel'); }, 200); }); }); }; function topnav2(){ var planItems = $('ul.nav_navcon li'); planItems.each(function(index) { var li = $(this); var div= $('li.sel1 a'); li.mouseover(function() { $('ul.nav_navcon li').addClass(''); li.addClass('sel'); div.css('border-bottom','none'); }); li.mouseout(function() { li.removeClass('sel'); div.css('border-bottom','3px solid #B21112'); }); }); }; function ieLocalVideo(video1,video2,video3,thumb1,thumb2,thumb3,startPic,baseUrl){//本地回放(用于低版本 flash) var html = ''; $(".videojs").hide(); if(video1!='' && video2=='' && video3==''){ html += '
'; html += ''; html += '
'; }else if(video1!='' && video2!=''){ html += '
'; html += ''; html += '
'; html += ''; } return html; } function localVideo(video1,video2,video3,thumb1,thumb2,thumb3,startPic){//本地回放 var html = ''; if(video1!='' && video2=='' && video3==''){ html += '
'; if(2039 == '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 = "U817P4T309D2039F22450DT20190312220656.jpg"; thumb2 = ""; thumb3 = ""; ifvideo1 = "http://cloud.quklive.com/cloud/a/embed/1552398777041777".replace(/http/ig,'https').trim(); ifvideo2 = "".replace(/http/ig,'https').trim(); ifvideo3 = "".replace(/http/ig,'https').trim(); lcvideo1 = 'http://video.chinanews.com/replay/flv/qukan/2019/1552504807051.mp4'.replace(/http/ig,'https').trim(); lcvideo2 = ''.replace(/http/ig,'https').trim(); lcvideo3 = ''.replace(/http/ig,'https').trim(); status = 'js'; startPic = 'U817P4T309D2039F13828DT20190312220656.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(2039 == "1325"){ $(".video-js .vjs-big-play-button").css({"top":"495px","left":"25px"}); } }); function weibo(id) { document.getElementById("id8").className="dii8"+id; }

888大奖娱乐官网_大奖娱乐官网_888大奖娱乐中国唯一正规官网

分享到:
3月12日至14日,围绕最高人民法院工作报告的重点内容,最高人民法院新闻局举行5场全媒体直播访谈,由最高人民法院相关部门负责人接受访谈,全方位、多角度、深层次解读人民法院工作成果和亮点。13日,最高人民法院审判监督庭庭长颜茂昆就“守住保护产权和企业家合法权益的‘最后一道防线’”相关主题进行解读。
图文滚动
刷新