drupal_add_js calls the jPlayer file with the base path in the path uri. It can load the file, however, the locale js parser cannot fetch it. Base path only should be added where necessary and don't use it for drupal_add_js().

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

itarato’s picture

Status: Active » Needs review
FileSize
1.34 KB

I added a patch. Please, review and consider merging it. Thanks :)

berenddeboer’s picture

Just encountered this as well. $base_path is all over the place in this module. Please remove all occurrences, you don't need it.

benjifisher’s picture

Version: 7.x-1.0-beta6 » 7.x-1.0-beta8
Status: Needs review » Closed (duplicate)

This problem and others are fixed in #1845032: jplayer: no theme override function, incorrect use of $base_path, and poor legacy browser support, so I am marking this as a duplicate. I will also bump the version, since it is still a problem with beta8.