I have installed the audio plugin, to create Xbrowser playlists, but I am getting the following error

jPlayer 2.0.0 : id='jquery_jplayer_1' : Error!

All I have done so far is create a new post, upload audio to the post using the wordpress audio uploader, added the playlist to the post using the following shortcode, and published.

[audio layout="list"]

and also tried


but produced the same error

The files are .mp3 format, they play in other players fine.

The site is stored locally, in case that is relevant.

1 Answer 1


Answered my own question. Kept here for others who may have in the same problem.

Turns out, being locally hosted WAS relevant. the problem is line 192 in /wp-content/plugins/audio/js/audio.js

swfPath: 'http://' + window.location.host + '/wp-content/plugins/audio/js/',

This expects the site to be based at the root /, as mine was in a folder I just changed it to:

swfPath: 'http://' + window.location.host + 'MY_SITE/wp-content/plugins/audio/js/',

and we're away.

Remember: revert to original line when moving to production.

  • This plugin should use some JS localization to pass things to the JS like site url and plugin url. Maybe you can tell the plugin author to make use of these functions then that way you wouldn't have to make this manual change. weblogtoolscollection.com/archives/2010/05/07/…
    – Scott
    Commented Jun 27, 2011 at 17:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.