|
<html>
<head>
<title>播放器</title>
<body>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="//cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<script type="text/javascript" src="js/tvlive.js"></script>
<!--<script type="text/javascript" src="http://www.zimtv.cn/tv/css/ctvfans.js"></script>-->
<script type="text/javascript">
// 定义一个函数用以显示当前时间
function displayTime() {
var elt = document.getElementById("clock"); // 通过id= "clock"找到元素
var now = new Date(); // 得到当前时间
elt.innerHTML = now.toLocaleTimeString('chinese', {hour12: false}); //让elt来显示它 24小时制false/12小时制true
setTimeout(displayTime,1000); //在1秒后再次执行
}
window.onload = displayTime; //当onload事件发生时开始显示时间
</script>
<style type="text/css">
/* 右上图片变成黑白--只需要改最后一个值*/
.logo { -webkit-filter: grayscale(100%);-moz-filter: grayscale(100%);-ms-filter: grayscale(100%);-o-filter: grayscale(100%);filter: grayscale(0%)/*黑白调整*/;filter: gray;}
/* 右上图片透明度设置*/
img{opacity:0.4;filter:alpha(opacity=40);}
img:hover{opacity:1.0;filter:alpha(opacity=100);}
/* 背景测试卡设置*/
body{background:url("img/ceshika.png");-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat;}
html{background-color:#2b2b2b; margin-left: 0px;margin-top: 0px;margin-right: 0px;margin-bottom: 0px;}
body{margin:0px;}
</style>
<style type="text/css">
.STYLE1 {color: #CCCCCC}
.STYLE2 {font-size: large}
a:link {
color:#FFFFFF; /*#00FF00*/
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #F8FF00 ;/*#33CC00*/
}
a:hover {
text-decoration: none;
color: #99FF00;
}
a:active {
text-decoration: none;
}
.STYLE4 {font-size: x-large}
</style>
</head>
<!--右上角台标-->
<a href="/" target="_blank">
<img src="img/m-logo.png" width="5.625%" height="10%" border="0" class="logo" style="z-index:0;position:absolute;right:4%;top:2%"/></a>
<!---swf类节目引源--->
<script type="text/javascript">
function swfplay(str){
document.writeln("<embed src=\""+str+"\" quality=\"high\" wmode=\"transparent\" width=\"100%\" height=\"100%\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" allowfullscreen=\"true\" allowscriptaccess=\"always\"><\/embed>");
};
</script>
<script type="text/javascript">
function web(str) {
document.writeln("<iframe src=\"" + str + "\" quality=\"high\" allowfullscreen=\"true\" width=\"100%\" height=\"100%\" frameborder=\"no\" border=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" allowtransparency=\"yes\"pluginspage=\"http://www.macromedia.com/go/getflashplayer\"><\/iframe>");
};
</script>
<!--浏览器引源入口-->
<script language="javascript">
function getSearch(){
try{
var url=location.search.replace(/&/g,'#'),i;
var lss=url.substr(url.indexOf('?')+1).split('&');
for(i=0;i<lss.length;i++) if (lss.toLowerCase().indexOf(arguments[0].toLowerCase()+'=')==0) return decodeURIComponent(lss.substr(lss.indexOf('=')+1).replace(/\#/g,'&'));
} catch(e) {}
return '';
}
var type = getSearch("p");
var tvurl = getSearch("id");
var url = getSearch("url");
var vid = getSearch("vid");
var xml = getSearch("xml");
var img = getSearch("i");
</script>
<!--CCTV官方源代码-->
<script language="javascript">
if(type=="cntv"||type=="cnsy"||type=="cnflv"||type=="cctv"||type=="cnswf"||type=="cnhls1"||type=="cnhls4"){
var now=new Date();
var s = now.getTime().toString();
document.write('<scr'+'ipt type="text/javascript" src="http://vdn.apps.cntv.cn/api2/liveHtml5.do?channel=pa://cctv_p2p_hd'+tvurl+'&client=flash&t='+s+'"></scr'+'ipt>');
}
//https://player.cntv.cn/standard/live_HLSDRM20180524.swf?tai='+tvurl+'&ChannelID='+tvurl+'&videoTVChannel='+tvurl+'&P2PChannelID=pd://cctv_p2p_hd'+tvurl+'
</script>
<script language="javascript">
eval('var html5VideoData='+html5VideoData);
var hds2=encodeURIComponent(html5VideoData.hds_url.hds2);
var flv2=encodeURIComponent(html5VideoData.flv_url.flv2);
var hls1=html5VideoData.hls_url.hls1;
var hls2=encodeURIComponent(html5VideoData.hls_url.hls2);
var hls4=encodeURIComponent(html5VideoData.hls_url.hls4);
var addrs=encodeURIComponent(html5VideoData.hds_url.hds1);
var backurl=encodeURIComponent(html5VideoData.hds_url.hds2);
var preview=encodeURIComponent(html5VideoData.hls_url.hls5);
var timeurl=encodeURIComponent(html5VideoData.flv_url.flv5);
</script>
<script type="text/javascript">
<!---无画面提示画面--->
if(type==""){
document.write('<img src="img/xinhaowu.png" width="100%" height="100%" border="0" class="logo" style="z-index:0;position:absolute;left:0%;top:0%;"/><iframe name="lutv" src="ceshika.php" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true" ></iframe>');
};
if(type=="SHOUJI"){//../tvplayer2.php?id=3200
document.write('<img src="img/SHOUJI.png" width="100%" height="100%" border="0" class="logo" style="z-index:0;position:absolute;left:0%;top:0%;opacity:0.7;filter:alpha(opacity=70);"/><iframe name="lutv" src="" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true" ></iframe>');
document.write('<B style="color:#CDCDCD;border-radius:15px;text-shadow:2px 2px 3px #000;font-size:100%;font-family:Microsoft JhengHei;position:absolute;left:20%;bottom:24.5%;"> <font color=#FFFFF> 正在播出:<span id="节目表"> </span></font> </B>');
};
if(type=="ceshika"){//用于信号转换
document.write('<img src="img/ceshika.png" width="48.8%" height="48.6%" border="0" class="logo" style="z-index:0;position:absolute;left:25.6%;top:25.60%;opacity:0.9;filter:alpha(opacity=90)"/><iframe name="lutv" src="ceshika.php" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true" ></iframe>');
document.write('<img src="img/ctvlogo.png" width="5.625%" height="10%" border="0" class="logo" style="z-index:0;position:absolute;left:8.5%;top:6.3%;opacity:1.0;filter:alpha(opacity=100)";/>');
//document.write('<B style="color:#CDCDCD;border-radius:15px;text-shadow:2px 2px 3px #000;font-size:150%;font-family:Microsoft JhengHei;position:absolute;right:44%;bottom:5.5%;"> <font color=#FFFFF> <a id=clock </a> </font> </B>');
};
if(type=="lutv"){
var secs =30; //倒计时的秒数
var URL ;
function Load(url){
URL =url;
for(var i=secs;i>=0;i--)
{
window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000);
}
}
function doUpdate(num)
{
document.getElementById('ShowDiv').innerHTML =''+num+'<sup></sup>' ;
if(num == 0) { window.location=URL; }
}
Load("?p=ceshika");
//?p=cqiptv&id=105 /6
document.write('<iframe src="?p=cqiptv&id=106" style="margin-top:0%;margin-left:0%;background:url(img/ceshika1.png);-moz-background-size:100% 100%; background-size:100% 100%;background-repeat:no-repeat;" scrolling="no" frameborder="0" width="100%" height="100%" allowFullScreen="ture"></iframe>');
//document.write('<img src="http://www.zimtv.cn/tv/img/ceshika.png" width="48.8%" height="48.6%" border="0" class="logo" style="z-index:0;position:absolute;left:25.6%;top:25.6%;opacity:0.2;filter:alpha(opacity=50);"/>');
//document.write('<B style="color:#FFFFFF;border-radius:15px;background-image:linear-gradient(90deg, rgba(255,0,3,0.00),rgba(255,0,0,0.70),rgba(224,0,255,0.70));text-shadow:2px 2px 3px #000;font-size:10%;font-family:Microsoft JhengHei;position:absolute;left:14.5%;top:7.8%;"> <font color=#FF0000><i class="fa fa-circle"></i></font> <a id="ShowDiv"></a> <font color=#FF0000>|</font> <span id="节目表"><a>放送精彩 稍后继续</a></span> </B>');
//节目预告
document.write('<B style="color:#CDCDCD;border-radius:15px;text-shadow:2px 2px 3px #000;font-size:150%;font-family:Microsoft JhengHei;position:absolute;right:74%;bottom:30.5%;"> <font color=#FFFFF> NEXT </font> </B>');
document.write('<B style="color:#CDCDCD;border-radius:30px;background-image:linear-gradient(45deg,rgba(255,0,4,0.90),rgba(232,0,255,0.90));text-shadow:2px 2px 3px #000;font-size:150%;font-family:Microsoft JhengHei;position:absolute;left:25%;bottom:24%;"><font color=#FFFFF> <a id="ShowDiv"></font> </B>');
document.write('<img src="img/jingcai.png" width="25%" height="12%" border="0" class="logo" style="z-index:0;position:absolute;left:0%;top:65%;opacity:0.9;filter:alpha(opacity=90);"/>');
document.write('<B style="color:#CDCDCD;border-radius:15px;text-shadow:2px 2px 3px #000;font-size:130%;font-family:Microsoft JhengHei;position:absolute;right:74%;bottom:24.5%;"> <font color=#FFFFF><span id="节目表">放送精彩 现在继续 </span></font> </B>');
document.write('<B style="color:#CDCDCD;border-radius:15px;background-image:linear-gradient(90deg,rgba(10,10,10,0.90),rgba(255,0,4,0.90),rgba(25,25,25,0.90));text-shadow:2px 2px 3px #000;font-size:150%;font-family:Microsoft JhengHei;position:absolute;right:2.8%;bottom:3%;"> <font color=#FFFFF><span id="标题">温 馨 提 示</span></font> </B>');
//台标
document.write('<img src="img/ctvlogo.png" width="5.625%" height="10%" border="0" class="logo" style="z-index:0;position:absolute;left:8.5%;top:6.3%;opacity:0.9;filter:alpha(opacity=90)";/>');
};
if(type=="tianqi"){
document.write('<iframe src="live/?id=" style="margin-top:0%;margin-left:0%;background:url(img/ceshika.png);-moz-background-size:100% 100%; background-size:100% 100%;background-repeat:no-repeat;" scrolling="no" frameborder="0" width="100%" height="100%" allowFullScreen="ture"></iframe>');
//台标
document.write('<img src="img/weathertv.png" width="20%" height="8%" border="0" class="logo" style="z-index:0;position:absolute;left:7.5%;top:6.3%;opacity:0.9;filter:alpha(opacity=90);hover{opacity:1.0;filter:alpha(opacity=100);"/>');
//document.write('<img src="https://cj.weather.com.cn/portal/images/footer-logo.png" width="18%" height="8%" border="0" class="logo" style="z-index:0;position:absolute;left:7.5%;top:6.3%;"/>');
};
<!--进入官网-->
if(type=="w"){
document.write('<iframe name="lutv" src="api/tiao.php?url="style="background:url(../img/snow.gif) ;-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true" ></iframe>');
};
<!---网页引用--->
if(type=="f"){
document.write('<iframe name="lutv" src="'+ url +'" style="background:url() ;-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true"></iframe>');
};
if(type=="r"){//蜻蜓FM 广播节目专用
document.write('<audio id="audio" autoplay="autoplay" src="https://lhttp.qingting.fm/live//64k.mp3" controls style="height:100%; width:100%; outline:none; background:url();-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;"></audio>');
document.addEventListener('DOMContentLoaded', function () {
function audioAutoPlay() {
var audio = document.getElementById('audio');
audio.play();
document.addEventListener("WeixinJSBridgeReady", function () {
audio.play();
}, false);
}
audioAutoPlay();
});
document.addEventListener('touchstart', function () {
function audioAutoPlay() {
var audio = document.getElementById('audio');
audio.play();
}
audioAutoPlay();
});
};
<!---网页引用--->
if(type=="bili"){//B站
document.write('<iframe name="lutv" src="https://player.bilibili.com/player.html?bvid='+ tvurl +'" style="background:url() ;-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true"></iframe>');
};
if(type=="vod"){//带搜索
document.write('<iframe name="lutv" src="https://z1.m1907.cn/?jx='+ tvurl +'" style="background:url() ;-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true"></iframe>');
};
if(type=="vod2"){//直接网站
document.write('<iframe name="lutv" src="https://vip.parwix.com:4433/player/?url='+ tvurl +'" style="background:url() ;-moz-background-size:100% 100%; /* 背景测试*/background-size:100% 100%;background-repeat:no-repeat; /* 画面位置变更*/ margin-top:-0px;margin-left:-0px;" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowFullScreen="true"></iframe>');
};
<!---video js播放器--->
if(type=="live"){
document.write('<iframe name="lutv" src="live/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vp"){
document.write('<iframe name="lutv" src="vplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vp2"){
document.write('<iframe name="lutv" src="vp/vp.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vps"){//升级版cctv6专用
document.write('<iframe name="lutv" src="vp/vps.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vpl"){
document.write('<iframe name="lutv" src="vp/vpl.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vpx"){
document.write('<iframe name="lutv" src="vp/vpx.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vpx2"){
document.write('<iframe name="lutv" src="vp/vpx2.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vpq"){
document.write('<iframe name="lutv" src="vp/vpq.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="vpr"){//用于rtmp格式视频
document.write('<iframe name="lutv" src="vplayer2/rtmp.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="ckX2"){
document.write('<iframe name="lutv" src="ckX2/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="ep"){
document.write('<iframe name="lutv" src="eplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="cu"){
document.write('<iframe name="lutv" src="cuplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="dp"){
document.write('<iframe name="lutv" src="dplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="mudu"){
document.write('<iframe name="lutv" src="http://mudu.tv/?a=index&c=show&id='+tvurl+'&type=pc" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
<!---优酷视频代码--->
if(type=="youku"){
document.write('<iframe name="lutv" src="http://player.youku.com/embed/'+tvurl+'" width="100%" height="100%" frameborder="0" scrolling="no" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash"></iframe>');
};
<!---swf播放器--->
if(type=="jw"){
document.write('<iframe name="lutv" src="jwplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="flv"){
//str='ckplayer/ckplayer.swf?p=1&v=100&lv=1&f='+tvurl+'';
//swfplay(str);
document.write('<iframe name="lutv" src="ckplayer/flv.html?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="rtmp"){
document.write('<iframe name="lutv" src="vplayer2/rtmp.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="ck"){
document.write('<iframe name="lutv" src="ckplayer/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="ckX"){
document.write('<iframe name="lutv" src="ckX/?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="ckX1"){
document.write('<iframe name="lutv" src="ckX1/?url='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
<!--f4m格式直播-->
if(type=="f4m"){
str='f4mplayer/f4m.swf?src='+tvurl+'&streamType=live&autoPlay=true&controlBarAutoHide=true';
swfplay(str);
};
<!---直播代码--->
if(type=="zhibo"){ //112.132.209.46/liveplay-kk.rtxapp.com
//http://shbu.live.bestvcdn.com.cn:8080
//http://183.207.255.207/live/program/live/hnwshd/2300000/mnf.m3u8
document.write('<iframe name="lutv" src="vp/vpx.php?id=http://shbu.live.bestvcdn.com.cn:8080/live/program/live/'+tvurl+'/'+url+'00000/mnf.m3u8" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
<!---央视网直播--->
if(type=="cctv"){
document.write('<iframe name="lutv" src="http://www.zimtv.cn/tv/player/api/cctv.php?id=" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
//https://cctvalih5ca.v.myalicdn.com/live/cctv5plus_2/index.m3u8 //https://cctvtxyh5ca.liveplay.myqcloud.com/live/'+tvurl+'_2_hd/index.m3u8
//document.write('<iframe name="lutv" src="vp/vpx.php?id=https://cctvalih5ca.v.myalicdn.com/live/'+tvurl+'_2/index.m3u8 " height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
if(type=="cctv2"){
document.write('<iframe name="lutv" src="vp/vpx.php?id='+hls2+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
/*
if(type=="cntv"){
document.write('<iframe name="lutv" src="http://dianshi.1.tzps.net/cctv/1/cctv.com.htm?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
*/
if(type=="cntv2"){
str='https://player.cntv.cn/standard/live_HLSDRM20180524.swf?tai='+tvurl+'&ChannelID='+tvurl+'&videoTVChannel='+tvurl+'&P2PChannelID=pd://cctv_p2p_hd'+tvurl+'';
web(str);
};
if(type=="cctv6"){
document.write('<iframe name="lutv" src="vp/vps.php?id=" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
<!---移动咪咕直播--->
if(type=="migu"){
document.write('<iframe name="lutv" src="http://www.zimtv.cn/tv/player/api/migu.php?id='+tvurl+'" height="100%" width="100%"scrolling="no" border="0" frameborder="0"></iframe>');
};
<!---联通wo直播--->
if(type=="wo"){ //http://womlive.cloud.wo.cn/tvlive/100'+tvurl+'/otpzod_otpzod,100'+tvurl+'_hls_pull_live.m3u8
document.write('<iframe name="lutv" src="vp/vpx.php?id=http://womlive.cloud.wo.cn/tvlive/100'+tvurl+'.m3u8" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
<!---教育网直播--->
if(type=="ivi"){ //http://v.mp.haue.edu.cn/hls/ 河南工程学院 http://live.scuec.edu.cn:8080/hls/ 中南民族大学
document.write('<iframe name="lutv" src="vp/vpx.php?id=http://v.mp.haue.edu.cn/hls/'+tvurl+'.m3u8" height="100%" width="100%"scrolling="no" border="0" frameborder="0"></iframe>');
};
if(type=="ivi2"){
document.write('<iframe name="lutv" src="vp/vpx.php?id=http://v.mp.haue.edu.cn/hls/'+tvurl+'.m3u8" height="100%" width="100%"scrolling="no" border="0" frameborder="0"></iframe>');
};
<!--北京电视频道-->
if(type=="bjtv"){//http://111.6.126.218/hsplay-360.v.btime.com/live_btime/btv_sn_20170706_s1/index.m3u8
//http://pull.brtvcloud.com/brtv8kapptv/brtv8kapp'+fhid+'.m3u8
if(tvurl=="1"){fhid="bjws"};//北京卫视
if(tvurl=="2"){fhid="btvwy"};//北京文艺
if(tvurl=="3"){fhid="btvkj"};//北京科教
if(tvurl=="4"){fhid="btvys"};//北京影视
if(tvurl=="5"){fhid="btvcj"};//北京财经
if(tvurl=="6"){fhid="bjjs"};//北京冬奥纪实
if(tvurl=="7"){fhid="btvsh"};//北京生活
if(tvurl=="8"){fhid="btvqn"};//北京青年
if(tvurl=="9"){fhid="btvxw"};//北京新闻
if(tvurl=="10"){fhid="kaku"};//北京卡酷少儿
document.write('<iframe name="lutv" src="http://www.zimtv.cn/tv/player/api/btime.php?id='+fhid+'" height="100%" width="100%"scrolling="no" border="0" frameborder="0"></iframe>');
};
//http://live.cooltv.top/tv/btime.php?id=btvkj
<!---天津电视台开始--->
if(type=="tjtv"){
};
<!----东方直播开始--->
if(type=="dftv"){ //swf
if(tvurl=="dfws"){fhid="800081"};//东方卫视
if(tvurl=="xwzh"){fhid="800084"};//新闻综合
if(tvurl=="shwy"){fhid="800089"};//上海外语
if(tvurl=="shds"){fhid="800090"};//上海都市
if(tvurl=="jsrw"){fhid="800091"};//纪实人文
if(tvurl=="yicai"){fhid="800092"};//第一财经
str='http://player.kksmg.com/data/player_swf/KKPlayer.swf?playerId=2969363206&liveChannelID='+fhid+'';
//web(str);
swfplay(str);
};
if(type=="dftv2"){ //
if(tvurl=="dfws"){fhid="dfws"};//东方卫视
document.write('<iframe name="lutv" src="http://www.zimtv.cn/tv/player/api/shtv.php?id='+tvurl+'" height="100%" width="100%" scrolling="no" border="0" frameborder="0" allowScriptAccess="sameDomain" allowFullScreen="true" ></iframe>');
};
|
|