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.
I am trying to get this module to work on a complex multisite install, and having /sites/all/* hardcoded into the module means it will only work in the /all/* directory. :(
Rob_loach just suggested: "Would be nice to switch it over to Libraries API, introduce a hook_audiofield_players(), and then give it Flowplayer support."
Ideally, this module would work with all the possible ways to set Drupal up. Putting the libraries into sites/all/libraries/* is frequently not an option.
Comments
Comment #1
tamerzg CreditAttribution: tamerzg commentedIn last beta I made location of players configurable through admin form.
Comment #3
BBCMaybe I'm missing something, but I've been unable to get this running on a multisite install as well. Have tried putting the player in sites/all/libraries/ as well as sites/sitename/libraries, but am getting the following error:
warning: call_user_func() [function.call-user-func]: First argument is expected to be a valid callback in /var/www/html/sites/all/modules/audiofield/audiofield.module on line 250.
The module works fine for the default site.
Any suggestions or pointers would be much appreciated.
Thanks!