爱奇艺优酷乐视等视频网站调用源码

原创 2017年01月03日 16:29:39
//调用youku播放
function viewyouku(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="https://api.niubaitu.com/youkuvip.php?id='+url+'"></iframe>');
}


//调用ykyun播放
function viewykyun(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="https://api.niubaitu.com/acfun.php?id='+url+'"></iframe>');
}




//调用我乐播放器
function viewwl(url,w,h){
document.write('<iframe border="0" id="loadplay" src="/'+sitePath+'js/play/56.html?pid='+url+'" marginWidth="0" frameSpacing="0" marginHeight="0" frameBorder="0" noResize scrolling="no" width="'+w+'" height="'+h+'" vspale="0" style="z-index:9998;"></iframe>');
}

//调用土豆播放器
function viewtudou(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_tudou',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_tudou'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}


//调用pps播放器
function viewpps(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_pps',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_pps'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}

var BdPlayer = new Array();

//调用百度播放器
function viewbaidu(url, w, h) {
        var Firefox    = navigator.userAgent.match(/Firefox|MSIE 6.0|MSIE 7.0|MSIE 8.0|MSIE 9.0/i) != null;
    var Android = navigator.userAgent.match(/Android|Linux/i) != null;
    var iPhone  = navigator.userAgent.match(/iPad|iPhone|iPod/i) != null;
    var m3u8  = 'http://vip.niubaitu.com:778/bdvideo/mbox.php?p='+url;
    if(Android || iPhone){
        document.write('<video src="'+m3u8+'" controls="controls" autoplay="autoplay" width="'+w+'" height="'+h+'"></video>');;
    }else if(Firefox){
        document.write('<object pluginspage="http://www.macromedia.com/go/getflashplayer" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="100%" height="100%" align="middle"><param name="allowScriptAccess" value="always"><param name="allowFullScreen" value="true"><param name="quality" value="high"><param name="bgcolor" value="#000"><param name="wmode" value="Opaque"><param name="movie" value="/res/swf/DiskPlayer.swf"><param name="flashvars" value="file='+m3u8+'"><embed allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#000" wmode="Opaque" src="/res/swf/DiskPlayer.swf" flashvars="file='+m3u8+'" width="100%" height="100%" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object>');
    }else{
        window.cs = '<iframe src="http://ubmcmms.baidu.com/media/v1/0f000AsdQWMkVLkX374w40.swf?file='+m3u8+'" marginwidth="0" marginheight="0" border="0"scrolling="no" frameborder="0" topmargin="0" width="'+w+'" height="'+h+'"></iframe>';
        document.write('<iframe src="javascript:parent.cs" marginwidth="0" marginheight="0" border="0"scrolling="no" frameborder="0" topmargin="0" width="'+w+'" height="'+h+'"></iframe>');
    }
}


//调用迅雷快传
function viewkuai(url,w,h){
document.write('<div class="pboxxunlei"><div class="palybb1">你可以复制网址或直接点击打开.</div><div class="palybb2"><A href="http://kuai.xunlei.com/d/'+url+'" target=_blank><FONT size=4>http://kuai.xunlei.com/d/'+url+'</FONT></A></div></div>');
}


//调用影音先锋
function viewxfplay(url,w,h){
document.writeln("<IFRAME id=xframe_mz name=xframe_mz style=\"MARGIN: 0px; WIDTH: 958px; DISPLAY: none; HEIGHT: 445px\" src=\"http://www.77ds.net/js/play/xfplay.html\" frameBorder=0 scrolling=no></IFRAME>");
document.writeln("<OBJECT id=Xfplay name=Xfplay onerror=\"document.getElementById(\'Xfplay\').style.display=\'none\';document.getElementById(\'xframe_mz\').style.display=\'\';document.getElementById(\'xframe_mz\').src=\'http://www.77ds.net/js/play/xfplay.html\';\" CLASSID=\"CLSID:E38F2429-07FE-464A-9DF6-C14EF88117DD\" width=\"958\" height=\"550\">");
document.writeln("<PARAM NAME=\"URL\" VALUE=\""+url+"\">");
document.writeln("<embed type=\"application/xfplay-plugin\" id=\"Xfplay2\" name=\"Xfplay2\" PARAM_URL=\""+url+"\"  Event_Xf_Complete=\"Xf_Complete\" width=\"958\" height=\"550\" ></embed>");
document.writeln("</OBJECT>");
document.writeln("<SCRIPT language=JavaScript src=\"http://error.xfplay.com/Player.js\"></SCRIPT>");
}


//调用西瓜影音
function viewxigua(url,w,h){
document.write("<script language=\"javascript\">var XgPlayer = {    'Url': \""+url+"\",  'LastWebPage': '', 'NextWebPage': \"http://www.xx.com/xxx.html\",  'Buffer': '/js/play/ad.html',  'Pase': '/js/play/ad.html',  'Width': 960, 'Height': 490, 'Second': 8, \"Installpage\":'/js/play/xigua.html'};</scr"+"ipt><script language=\"javascript\" src=\"http://js.client51.com/m_xiguaplayer.js\" charset=\"utf-8\"></scr"+"ipt>");
}


//调用吉吉影音
function viewjjvod(url,w,h){
document.write('<iframe width="960" height="486" id="jjvodplay_iframe" frameborder="0" src="/'+sitePath+'js/play/jjvod.html?pid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}



//调用百度网盘
function viewbdpan(url,w,h){
document.write('<div class="pboxbaidu"><div class="palybb1"><FONT size=4>下面框中是网盘下载地址,请直接点击进入百度网盘界面</FONT></div><div class="palybb2"><FONT size=3></FONT><A href="http://pan.baidu.com/s/'+url+'" target=_blank rel="nofollow"><FONT size=3>http://pan.baidu.com/s/'+url+'</FONT></A></div></div>');
}


//调用网盘播放
function viewwangpan(url,w,h){
document.write('<div class="pboxxunlei"><div class="palybb1"><FONT size=4>下面框中是迅雷快传下载地址,请直接点击进入迅雷快传界面</FONT></div><div class="palybb2"><FONT color=#ffffff size=3></FONT><A href="http://kuai.xunlei.com/d/'+url+'" target=_blank rel="nofollow"><FONT size=3>http://kuai.xunlei.com/d/'+url+'</FONT></A></div></div>');
}




//调用搜狐播放器
function viewsohu(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/sohu.php?id='+url+'"></iframe>');
}



//调用乐视播放器
function viewletv(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/letv.php?id='+url+'"></iframe>');
}



//调用xl播放器
function viewxunlei(url,w,h){
document.write('<iframe border="0" id="loadplay" src="/js/play/gvod1.html?url='+url+'" marginWidth="0" frameSpacing="0" marginHeight="0" frameBorder="0" noResize scrolling="no" width="'+w+'" height="520" vspale="0" style="z-index:9998;"></iframe>');
}


//调用云播播放器
function viewyun(url,w,h){
document.write('<iframe border="0" id="loadplay" src="http://www.7msmr.com/index.php-url=.htm?url='+url+'" marginWidth="0" frameSpacing="0" marginHeight="0" frameBorder="0" noResize scrolling="no" width="'+w+'" height="625" vspale="0" style="z-index:9998;"></iframe>');
}



//调用PPS播放器
function viewppstv(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_pps',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_pps'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}

//调用QQ播放器
function viewqqlive(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/qqvip.php?id='+url+'"></iframe>');
}


//调用风行播放器
function viewfunshion(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_fun',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_fun'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}

//调用CNTV播放器
function viewcntv(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_cntv',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_cntv'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}

//调用tvb播放器
function viewtvb(url,w,h){
document.write('<iframe width="955" height="611" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/tvb.html?vid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}


//调用pptv播放器
function viewpptv(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/pptvyun.php?id='+url+'"></iframe>');
}


//调用湖南卫视直播
function viewhntv(url,w,h){
document.write('<embed src= "http://c1.web.yy.com/r/rc/main/main/1/60/main.swf?type=yyscene&topSid=135830&subSid=2332689497" quality="high" width="958" height="500" type=application/x-shockwave-flash allownetworking="internal" allowscriptaccess="never" allowfullscreen="true">');
}


//调用江苏卫视直播
function viewjstv(url,w,h){
document.write('<iframe width="958" height="500" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/jstv.html?vid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}


//调用东方卫视直播
function viewdftv(url,w,h){
document.write('<iframe width="958" height="500" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/dftv.html?vid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}


//调用山东卫视直播
function viewsdtv(url,w,h){
document.write('<iframe width="958" height="500" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/sdtv.html?vid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}


//调用安徽卫视直播
function viewahtv(url,w,h){
document.write('<iframe width="958" height="500" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/ahtv.html?vid='+url+'" SCROLLING=no name="maxz_mplay"></iframe>');
}


//调用TV直播
function viewtvlive(url,w,h){
document.write('<iframe width="958" height="500" id="tudouplay_iframe" frameborder="0" src="/'+sitePath+'js/play/'+url+'.html" SCROLLING=no name="maxz_mplay"></iframe>');
}

//调用芒果TV直播
function viewhunantv(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/mg.php?id='+url+'"></iframe>');
}

//调用bilibili直播
function viewbilibili(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:'http://vip.niubaitu.com:778/flv.php?url='+url+'_bilibili',
        s:2,
        c:1,
        p:1,
        m:0
    };
    var video=['http://vip.niubaitu.com:778/flvsj.php?url='+url+'_bilibili'];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}

//调用le2直播
function viewle2(url,w,h){
document.write('<embed src="http://player.letvcdn.com/p/201501/14/16/newplayer/LetvPlayer.swf?'+url+'" quality="high" width="960" height="590" align="middle" allowScriptAccess="always" allowfullscreen="true" type="application/x-shockwave-flash"></embed>');
}

//调用360云盘
function view360yun(url,w,h){
document.write('<div class="pboxyunpan"><div class="palybb1"><FONT size=4>由于360云盘最近加入了访问密码验证,很多旧资源都已失效,新上传的资源下面都带有密码,请自行<BR>复制密码打开</FONT></div><div class="palybb2"><FONT color=#ffffff size=3></FONT><A href="http://yunpan.cn/'+url+'" target=_blank rel="nofollow"><FONT size=3>http://yunpan.cn/'+url+'</FONT></A></div></div>');
}


//调用iqiyi
function viewqiyi(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="http://vip.niubaitu.com:778/iqiyi.php?id='+url+'"></iframe>');
}

//调用swf
function viewswf(url,w,h){
document.writeln("<div id=\"a1\"><\/div>");
$.getScript("/player/player.js", function(){
    var flashvars={
        f:''+url+'',
        c:0,
        p:1,
        h:1
    };
    var video=['http://api.77ds.vip:777/flvsj.php?url='+url+''];
    CKobject.embed('/player/player.swf','a1','ckplayer_a1','958','480',false,flashvars,video);
});
}


//调用acfun
function viewacfun(url,w,h){
document.writeln('<iframe scrolling="no" frameborder="0" name="win_vod" id="win_vod" border="0"  width="958"  height="480" src="https://api.niubaitu.com/acfun.php?id='+url+'"></iframe>');
}

以上代码有效时间未知,源网站随时可能修改规则。

仅供学习使用,请勿用于其他用途,谢谢。

版权声明:本文为博主DICA的原创文章,未经博主允许不得转载(http://blog.csdn.net/dica54dica)

Android上获取优酷(youku),土豆(tudou),乐视(letv),爱奇艺(iqiyi)等HTML5页面上的视频真正地址

最近在做视频采集相关的软件,需要
  • conowen
  • conowen
  • 2014年04月18日 17:11
  • 29969

国内主要视频网站的网页视频嵌入方式

http://harttle.com/2017/02/12/embeding-video-sites.html?utm_source=tuicool&utm_medium=referral ...
  • u011001084
  • u011001084
  • 2017年02月13日 10:27
  • 3586

史上最强视频网站真实地址解析

写此文章旨在学习和讨论,请勿滥用… 请标明转载http://blog.csdn.net/feige2008/article/details/8895632,大家如有疑问可以留言。。。 目前互联网视...
  • bonlog
  • bonlog
  • 2014年04月26日 19:16
  • 234137

去除优酷、土豆、酷六、百度、奇艺、CNTV、新浪、乐视、搜狐等视频网站15秒广告的方法

本来觉得广告挺烦人的,但是也没怎么在意,一不小心发现了这个方法,果断收藏。 第一步:找到C:\WINDOWS\system32\drivers\etc里面的hosts文件,双击打开,选用记事本打...
  • bugDemo
  • bugDemo
  • 2012年06月20日 08:42
  • 2758

去除优酷、土豆、酷六、百度、奇艺、CNTV、新浪、乐视、搜狐等视频网站15秒广告的方法

http://rainbow702.iteye.com/blog/1134714 由于经常在线看视频,忍受不了那进入正题之前的几十秒的广告,所以就到网了查到了下面这个方法:   网站包括...
  • Skypine_Lee
  • Skypine_Lee
  • 2012年04月19日 16:56
  • 2926

去除优酷、土豆、酷六、百度、奇艺、CNTV、新浪、乐视、搜狐等视频网站15秒广告的方法

由于经常在线看视频,忍受不了那进入正题之前的几十秒的广告,所以就到网了查到了下面这个方法:   网站包括优酷、土豆、奇艺、迅雷看看、乐视、搜狐视频、新浪视频、六房间等。第一步:找到C:\WINDO...
  • rainbow702
  • rainbow702
  • 2016年01月14日 10:52
  • 1131

最新HOSTS法去除优酷、爱奇艺等视频网站广告

最新HOSTS法去除优酷、爱奇艺等视频网站广告 第一步:找到C:\WINDOWS\system32\drivers\etc里面的hosts文件,双击打开,选用记事本打开。 第二步:把下面的...
  • fightzhcg
  • fightzhcg
  • 2013年12月09日 14:41
  • 1838

超强优酷土豆爱奇艺视频网站去广告软件

  • 2014年04月14日 21:28
  • 4.43MB
  • 下载

chrome播放爱奇艺优酷芒果乐视搜狐腾讯VIP会员库视频插件

  • 2016年11月11日 17:00
  • 610KB
  • 下载

获取优酷(youku),土豆(tudou),乐视(letv),爱奇艺(iqiyi)等HTML5页面上的视频真正地址

http://blog.csdn.net/conowen/article/details/24027401 /**************************************...
  • jeffasd
  • jeffasd
  • 2017年04月23日 17:16
  • 1066
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:爱奇艺优酷乐视等视频网站调用源码
举报原因:
原因补充:

(最多只允许输入30个字)