• 网页中插入视频去除广告效果解决方案


     1 <div id="video">
     2                     <div id="videoCon" class="video"></div>
     3                     <script src="http://qzs.qq.com/tencentvideo_v1/js/tvp/tvp.player.js" charset="utf-8"></script>//插入视频的url地址 
     4                     <script>
     5                         var video = new tvp.VideoInfo();
     6                         video.setVid("b01737tt747"); //视频vid
     7                         var player = new tvp.Player('240', '140'); //视频高宽
     8                         player.setCurVideo(video);
     9                         player.addParam("autoplay", "0"); //是否自动播放,1为自动播放,0为不自动播放
    10                         player.addParam("outhost", "http://cf.qq.com/");
    11                         player.addParam("pic", "images/ttkp.jpg"); //默认图片地址
    12                         player.addParam("flashskin", "http://imgcache.qq.com/minivideo_v1/vd/res/skins/TencentPlayerMiniSkin.swf"); //是否调用精简皮肤,不使用则删掉此行代码
    13                         player.write("videoCon");
    14                     </script>
  • 相关阅读:
    奔跑的绵羊js
    13.差分
    12.子矩阵的和
    11.前缀和
    10.高精度除法
    9.高精度乘法
    8.高精度减法
    7.高精度加法
    6.数的三次方根
    5.数的范围
  • 原文地址:https://www.cnblogs.com/kangshuai/p/4992206.html
Copyright © 2020-2023  润新知