如何有效去掉优酷网站上的广告代码

无广告:

<embed
type="application/x-shockwave-flash"
src="http://player.youku.com/player.php/sid/XMzk1MDc0NjY4/v.swf" id="movie_player" name="movie_player" bgcolor="#FFFFFF" quality="high" allowfullscreen="true"
flashvars="isShowRelatedVideo=false&showAd=0&show_pre=1&show_next=1&isAutoPlay=true&isDebug=false&UserID=&winType=interior&playMovie=true&MMControl=false&MMout=false&RecordCode=1001,1002,1003,1004,1005,1006,2001,3001,3002,3003,3004,3005,3007,3008,9999"
pluginspage="http://www.macromedia.com/go/getflashplayer" width="500" height="375">

有广告:

<embed src="http://player.youku.com/player.php/sid/XMzk1MDc0NjY4/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" type="application/x-shockwave-flash"></embed>

 

    1. 优酷视频去广告代码:
      <embed src=" http://static.youku.com/v1.0.0149/v/swf/qplayer_rtmp.swf?VideoIDS=你的视频ID&winType=adshow&isAutoPlay=true" quality="high" width="宽度" height="高度" align="middle" type="application/x-shockwave-flash"></embed>

    2. 视频调整是否自动播放:
      1.isAutoPlay=false(不自动)
      2.isAutoPlay=true(自动播放)
    3. 视频调整大小:
      width="x"
      height="Y"
      常见几种比例:
      384*256
      580*435
      600*480
      "你的视频ID"指的是:URL链接中视频的ID位置
      比如:http://v.youku.com/v_show/id_XMzIyOTc3NDMy.html 链接中的 XMzIyOTc3NDMy ,把 XMzIyOTc3NDMy 直接替换上面代码中的“你的视频ID”位置

你可能感兴趣的:(代码)