码迷,mamicode.com
首页 > 其他好文 > 详细

腾讯视频去广告

时间:2019-02-09 12:02:55      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:point   ram   col   class   视频播放   anr   color   视频播放器   视频去广告   

<script language="javascript" src="http://qzs.qq.com/tencentvideo_v1/js/tvp/tvp.player.js" charset="utf-8"></script>
<div class="xq_info_left" id = "playpoint">
<script language="javascript" charset="utf-8">
function btn(){
    var video = new tvp.VideoInfo();
    video.setVid("a0539b8if4x");  //视频的vid 
    //https://v.qq.com/x/page/b0763g6zyo4.html
    var player = new tvp.Player(100%, 496);//视频的宽和高
    player.setCurVideo(video);
    player.addParam("autoplay","0");
    player.addParam("adplay","0");
    player.addParam("player","html5");
    //player.addParam("pic","http://img.lanrentuku.com/img/allimg/1604/14603400449013.jpg");//视频播放器广告位图片
    player.write("playpoint");
}   
</script>

 

腾讯视频去广告

标签:point   ram   col   class   视频播放   anr   color   视频播放器   视频去广告   

原文地址:https://www.cnblogs.com/djiz/p/10357251.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!