Wordpress TinyMCE"添加媒体"按钮不起作用

时间:2017-02-28 14:48:36

标签: javascript jquery wordpress

在某些情况下,当我在Firefox(51.0.1)中浏览Wordpress(4.7.2)管理区域时,TinyMCE"添加媒体"按钮不会起作用。此外,在控制台选项卡中打开Mozilla Dev Tools会出现一些JS错误。

TypeError: d(...) is null[Learn More]  mediaelement-and-player.min.js:15:6254
mejs.MediaFeatures.init/c.supportsPointerEvents< http://localhost/WP/theme/wp-includes/js/mediaelement/mediaelement-and-player.min.js:15:6254
mejs.MediaFeatures.init http://localhost/WP/theme/wp-includes/js/mediaelement/mediaelement-and-player.min.js:15:6035
<anonymous> http://localhost/WP/theme/wp-includes/js/mediaelement/mediaelement-and-player.min.js:15:7968

TypeError: $(...).not(...).filter(...).mediaelementplayer is not a function[Learn More]  wp-mediaelement.js:44:4
initialize http://localhost/WP/theme/wp-includes/js/mediaelement/wp-mediaelement.js:44:4
n.Callbacks/i http://localhost/WP/theme/wp-includes/js/jquery/jquery.js:2:27444
n.Callbacks/j.fireWith http://localhost/WP/theme/wp-includes/js/jquery/jquery.js:2:28213
.ready http://localhost/WP/theme/wp-includes/js/jquery/jquery.js:2:30004
K http://localhost/WP/theme/wp-includes/js/jquery/jquery.js:2:30366

我看到的问题是WordPress正在使用的媒体元素插件。我搜索了网络,看看是否有类似的问题,但无法找到任何东西。有人知道发生了什么事吗?只需提及Chrome中没有问题。

0 个答案:

没有答案