Mediaelement.js 显示两个播放器
我目前正在尝试使用 wordpress 的 mediaelement.js 插件。
Wordpress 3.3.1
Mediaelement.js 2.5.0
但是,每当我在 Firefox、Chrome、Safari 中查看它时,它总是显示两个播放器。其中一个不起作用,另一个说“正在加载”,直到您单击播放,然后它才开始(可能是由于在该问题上关闭了预加载)。我尝试禁用 WordPress 中的所有其他插件,以及浏览器中可能干扰的扩展/插件。无论是音频还是视频,我都遇到同样的问题。我尝试使用脚本和短代码,并且都创建了这个结果。
我已经在这个目录中提供了图片: http://sharebox.sunnysidesound.com
I'm currently trying to use the mediaelement.js plugin for wordpress.
Wordpress 3.3.1
Mediaelement.js 2.5.0
However, whenever I view it, in Firefox, Chrome, Safari... it always shows two players. One of them is nonfunctional, and the other says "loading" until you click play, and then it starts (probably due to preloading off on that issue). I've tried disabling all my other plugins in wordpress, as well as extensions/plugins in my browsers that could interfere. I have the same problem regardless of whether it is audio or video. I have tried using the both the script and the shortcodes, and both create this result.
I've provided pictures in this directory:
http://sharebox.sunnysidesound.com
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您有一个正在运行 wpautop (自动添加
标签)到帖子内容的插件。您可以采取一些措施来解决此问题,例如安装另一个可以关闭 wpautop 的插件。
如果您无法控制其他人在做什么,您可以将如下内容添加到您自己的插件中:
You've got a plugin that's running wpautop (automatically adding <p> tags) to the post content. There's a few things you can do about this, like installing another plugin where you can turn off wpautop.
If you don't have control over what anyone else is doing, you can add something like this to your own plugin: