wordpress 播放视频
2016-02-26 10:41
183 查看
wordpress 播放视频 只要在文章中加入代码即可,视频加载常用的有自己网站和视频网站分享的视频,<strong>播放视频代码一定要放在编辑文章中文本界面下,不是可视化界面</strong>。如果是自己网站视频,使用代码如下(<strong>代码中加粗的部分是修改过的</strong>)
在html5支持的博客中可以使用下面的标签
<video controls="controls" width="100%" height="<strong>400</strong>"
<source src="http://www.example.com/vedio.mp4" type="video/mp4" />
</video>
如果是视频网站分享的视频,可以到视频播放的界面找到分享中的在网站或博客中使用的分享链接,选通用
<iframe src="http://open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=0bee1dfda9ad4cd7028da4c0ec5931e3&tvId=436293500&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7&appId=1368&height=100%&width=100%"
frameborder="0" allowfullscreen="true" width="100%" height="<strong>400</strong>"></iframe>
<iframe src="http://open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=0bee1dfda9ad4cd7028da4c0ec5931e3&tvId=436293500&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7&appId=1368&height=100%&width=100%"
width="100%" height="400" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
在html5支持的博客中可以使用下面的标签
<video controls="controls" width="100%" height="<strong>400</strong>"
<source src="http://www.example.com/vedio.mp4" type="video/mp4" />
</video>
如果是视频网站分享的视频,可以到视频播放的界面找到分享中的在网站或博客中使用的分享链接,选通用
<iframe src="http://open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=0bee1dfda9ad4cd7028da4c0ec5931e3&tvId=436293500&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7&appId=1368&height=100%&width=100%"
frameborder="0" allowfullscreen="true" width="100%" height="<strong>400</strong>"></iframe>
<iframe src="http://open.iqiyi.com/developer/player_js/coopPlayerIndex.html?vid=0bee1dfda9ad4cd7028da4c0ec5931e3&tvId=436293500&accessToken=2.f22860a2479ad60d8da7697274de9346&appKey=3955c3425820435e86d0f4cdfe56f5e7&appId=1368&height=100%&width=100%"
width="100%" height="400" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
相关文章推荐
- Andorid Graphics(一):概述及基本几何图形绘制
- 虚拟现实跑步机
- js中请求数据的$post和$ajax区别(同步和异步问题)
- jetty jmx 配置
- java设计模式----状态模式
- iPad 2升级iOS 9的过程记录
- 40个Java多线程问题总结
- CSS实现垂直 水平居中
- [问题记录]Ubuntu下chmsee安装失败的解决
- Redis数据类型
- 禁止页面拖拽事件(数据什么的)
- 编程验证足球预测算法的准确概率
- Mybatis与SLF4J、Apache Commons Logging、Apache Log4J、JDK Logging等日志打印配置
- Github上值得推荐的10个HTML5资源
- myeclipse调试程序
- 源生js事件封装
- vue源码浅析(对象和数组依赖处理)
- Oracle分区表创建本地索引和局部索引的性能
- Linux 软件的常用安装方法
- GDKOI2016 总结