騰訊視訊和優酷視訊怎麼嵌入網頁的方法
程式碼:
<iframe class="video_iframe" style="z-index:1;" src="http://v.qq.com/iframe/player.html?vid=pc841.com&width=500&height=375&auto=0" allowfullscreen="" frameborder="0" height="375" width="500">
</iframe>
紅色部分為此視訊的id地址,只需要更換id即可。
比如:http://v.qq.com/x/cover/9zl7kdluewkjc3i/q0021nawoub
2.優酷視訊插入網頁方式:
程式碼:
<embed src="http://player.youku.com/player.php/sid/XMzE0MzcwMDMy/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash">
</embed>