I've installed the module and also the Audiofield module. (I started off using Audiofield and was trying various other players, none of which I could get to work.) In the library I have jquery.jplayer.js, jquery.jplayer.min.js and jquery.jplayer.swf saved in /sites/all/libraries/jplayer There were a lot of other files and folders in the jPlayer-2.9.2 download but from what I could work out, those three files (the contents of dist/jplayer) are all that's needed.
I've tried two different field configurations, one with the field format set to "Audiofield player" and its "selected audio player" option set to jPlayer, and the other field with the field format set to jPlayer - Player. The mp3 file I've uploaded to my node does not play on either.
The mp3 file started out as a .wma file whose extension I simply changed to .mp3, but the file still plays on my local laptop with no problem. I've configured the fields to accept .wma and tried uploading .wma files instead but they still don't play, so it doesn't seem to be a file format issue.
I've tested on Chrome and Firefox on my Windows 7 laptop and also Safari for iPhone, so it doesn't seem to be a browser issue.
The Audiofield instructions incidentally say to install the library in /sites/all/libraries/player/jplayer/ but if I do this, clicking on the player controls when viewing the node just skips to the top of the page without doing anything.
Comments
Comment #2
Jonathan Lauer commentedI discovered your issue after google it the same problem...
Have you checked the console ? In my case, Jquery is not defined... This is why jplayer can't play anything.
And actually it's wrong, I include Jquery, but jplayer seems call the .js earlier !
After reading that : https://www.drupal.org/forum/support/post-installation/2011-03-02/jquery... I wasn't happy with this solution
And inspired by this one :
https://drupal.stackexchange.com/questions/46202/move-aggregated-js-file...
To avoid hacking the module or use a patch I propose you to try these 2 lines in your template.php or could work in any custom module if you prefer :
Finger crossed !
Comment #3
thoughtcat commentedHi Jonathan, thanks for the reply. I tried adding your two lines of code into template.php but it's had the effect of disabling the front page slideshow in my site, so I can't use that! Let me know if you have any other suggestions.