视频未显示(00:00 长度),示例有效,链接正常
花了几个小时尝试在 Apache 上运行的 wordpress v.3.1.2 中实现 mediaelement.js (v.2.1.2),并正确配置了 MIME 类型...
首先是示例(运行良好),然后是我自己的 vid(没有长度,没有海报,只有黑色)
页面是: http://ronhardt.org/site/?page_id=79
这是我的页
[视频 mp4="http://video-js.zencoder.com/oceans-clip.mp4" ogg="http://video-js.zencoder.com/oceans-clip.ogg" webm =“http://video-js.zencoder.com/oceans-clip.webm” 海报=“http://video-js.zencoder.com/oceans-clip.png” 预加载=“真” 自动播放=“真” 宽度=“640”高度=“264”]
[视频 mp4="http://ronhardt.org/site/wp-content/uploads/vid/webface002.mp4" ogg="http://ronhardt.org/site/wp-content/uploads/vid/webface002.ogg" webm =“http://ronhardt.org/site/wp-content/uploads/vid/webface002.webm” 海报=“http://ronhardt.org/site/wp-content/uploads/vid/webface001.png” 预加载=“真” 自动播放=“真” 宽度=“250”高度=“250”]
任何帮助将不胜感激; )
亲切的问候,乌博
spent hours trying to implement mediaelement.js (v.2.1.2) in wordpress v.3.1.2 running on an apache with corectly configured MIME types...
The example first (plays nice) and then my own vid (no length, no poster, just black)
the page is:
http://ronhardt.org/site/?page_id=79
Here are two lines in my page
[video
mp4="http://video-js.zencoder.com/oceans-clip.mp4"
ogg="http://video-js.zencoder.com/oceans-clip.ogg"
webm="http://video-js.zencoder.com/oceans-clip.webm"
poster="http://video-js.zencoder.com/oceans-clip.png"
preload="true" autoplay="true"
width="640" height="264"]
[video
mp4="http://ronhardt.org/site/wp-content/uploads/vid/webface002.mp4"
ogg="http://ronhardt.org/site/wp-content/uploads/vid/webface002.ogg"
webm="http://ronhardt.org/site/wp-content/uploads/vid/webface002.webm"
poster="http://ronhardt.org/site/wp-content/uploads/vid/webface001.png"
preload="true" autoplay="true"
width="250" height="250"]
Any help would be greatly appeciated ; )
Kind regards, Ubbo
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您正在使用 video.js 短代码。 Video.js 与 mediaelement.js 不同。
You're using the video.js short code. Video.js isn't the same as mediaelement.js.