您的位置:首页 > 其它

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>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: