Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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().
Comment | File | Size | Author |
---|---|---|---|
#1 | audiofield_wrongjplayerpath_1729346_1.patch | 1.34 KB | itarato |
Comments
Comment #1
itarato CreditAttribution: itarato commentedI added a patch. Please, review and consider merging it. Thanks :)
Comment #2
berenddeboer CreditAttribution: berenddeboer commentedJust encountered this as well. $base_path is all over the place in this module. Please remove all occurrences, you don't need it.
Comment #3
benjifisherThis 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.