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

tamerzg’s picture

Status: Active » Fixed

In last beta I made location of players configurable through admin form.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

BBC’s picture

Maybe 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!