如何引用无广告的优酷视频

通过下面的代码引用优酷的视频可以屏蔽掉广告。

<p style=”text-align: center;”><embed src=http://static.youku.com/v1.0.0149/v/swf/qplayer_rtmp.swf?VideoIDS=XMjM2OTE3ODg4ID&winType=adshow&isAutoPlay=true” quality=”high” width=”x” height=”y” align=”middle” allowScriptAccess=”never” allowNetworking=”internal” autostart=”0″ type=”application/x-shockwave-flash”></embed></p>

调整大小:

width=”x“height=”Y

常见几种比例:

384×256、580×435、610×460

替换视频地址:

红色部分是URL链接中视频的ID,比如:

http://v.youku.com/v_show/id_XNTc5NTU1NjEy.html

用链接中的XNTc5NTU1NjEy,替换上面的红色部分即可。

评论

此博客中的热门博文

FreeBSD安装Pure-FTPd及user manager for PureFTPd

debian lighttpd php ssl

解决nginx出现File not found的问题