开发者

mediaelement.js WordPress Plugin getting parse error

开发者 https://www.devze.com 2023-03-30 00:42 出处:网络
I\'ve been using the media element js Wordpress plugin version 2.1.7 on my Wordpress site for MP3 audio playback. I\'m up to date with Wordpress running 3.2.1. The audio player is getting stuck on \"l

I've been using the media element js Wordpress plugin version 2.1.7 on my Wordpress site for MP3 audio playback. I'm up to date with Wordpress running 3.2.1. The audio player is getting stuck on "loading" and if you check the JS error logs it's reporting a "parse error". You can see an example here:

http://www.maccast.com/2011/08/19/maccast-2011-08-19/

I'm using the short code:

[audio src="http://www.maccast.com/media/MC20110819.mp3" type="audio/mp3"]

The code reporting the parse error is:

<script type="text/javascript">
jQuery(document).ready(function($) {
    $('#wp_mep_1').mediaelementplayer({
        m:1
       ,f开发者_StackOverflow社区eatures: ['playpause','current','progress','duration','volume','tracks','fullscreen']
    ,audioWidth:,audioHeight:
    });
});
</script>

And the error is:

/2011/08/19/maccast-2011-08-19/:355SyntaxError: Parse error

I assume the permalink path that precedes "SyntaxError: Parse error" is just part of the standard error reporting in Safari, or could that be part of the parsing problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消