1. 程式人生 > >優酷去廣告程式碼

優酷去廣告程式碼

2種。需要自己調引數的時候 參照open.youku.com的技術文件.

<embed src="http://static.youku.com/v1.0.0149/v/swf/qplayer_rtmp.swf?VideoIDS=XMzcxMjcxNjky&winType=adshow&playMovie=true&isAutoPlay=true&showAd=0" 
quality="high" width="500" height="400" allownetworking="internal" allowfullscreen="true"  align="middle" type="application/x-shockwave-flash" ></embed>


<embed pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="showAd=0&VideoIDS=XMzM2NzU0ODQ4&
isAutoPlay=true&winType=adshow&isDebug=false&playMovie=true&MMControl=false&MMout=false&isShowRelatedVideo=false&allowScriptAccess=never" 
allowfullscreen="true" quality="high" bgcolor="#FFFFFF" src="http://static.youku.com/v/swf/qplayer.swf?showAd=0" 
type="application/x-shockwave-flash" allownetworking="internal" wmode="transparent" style="width: 615px; height: 501px"></embed>

<embed width="800px" height="400px" flashvars="mode=api&amp;jscontrol=true&amp;align=middle"
 wmode="transparent" allowscriptaccess="always" allowfullscreen="true" quality="high" name="playerswf" id="playerswf" src="http://static.youku.com/v1.0.0352/v/swf/loader.swf?VideoIDS=XMzM2NzU0ODQ4&amp;winType=adshow&amp;isAutoPlay=false"
 type="application/x-shockwave-flash"
 >