引用外站视频播放

----------------- h5标签video直接实现-------------------

<video src="https://o6yh618n9.qnssl.com/%287%29%20Twitter.MP4" controls="controls" width="800" height="800">
your browser does not support the video tag
</video>
-------------------h5标签video直接实现-----------------

 

亲试可以,另外发现align居中这个标签没起到作用,如想居中可外套一个div 加上text-align为center的即可。
--------------------引用优酷url实现播放----------------

<embed src="http://player.youku.com/player.php/sid/XMTY5NDU5MDQ1Ng==/v.swf" allowFullScreen="true" quality="high" width="480" height="400" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
--------------------引用优酷url实现播放----------------

 

 <div style="width: 1400px;height:428px; text-align: center;"><embed src="//cloud.video.taobao.com/play/u/1769916215/p/2/e/1/t/3/30910183.swf#tb_videoid=5994395" height="410" width="610"  allowScriptAccess="never" flashvars="scene=taobao_shop" type="application/x-shockwave-flash"> </embed></div>

 

---------------------使用iframe框架引用七牛云https视频实现播放--------------------

<div class="https-box">
<iframe width="100%" height="100%" frameborder="0" scrolling="auto" noresize="noresize" src="https://o6yh618n9.qnssl.com/%287%29%20Twitter.MP4"></iframe>
</div>
---------------------使用iframe框架引用七牛云https视频实现播放--------------------

 

 

摘自http://www.cnblogs.com/leshao/p/5834538.html

posted @ 2017-01-04 16:48  Amity1006  阅读(4055)  评论(0编辑  收藏  举报