Drupal Audiofield module does not show players

AudioField, version 6.x-1.0-beta1, did not show any players after I installed it in Drupal. After looking through the code I found that the developer had used sloshes, \\\\\, instead of slashes, /////. By switching them I was able to make the module work.

The original code

    $player1=realpath("sites") . "\all\libraries\player\audio-player\player.swf";
    $player2=realpath("sites") . "\all\libraries\player\xspf_player_slim.swf";
    $player3=realpath("sites") . "\all\libraries\player\playerSinglePackage\playerSingle.swf";
was changed to

    $player1=realpath("sites") . "/all/libraries/player/audio-player/player.swf";
    $player2=realpath("sites") . "/all/libraries/player/xspf_player_slim.swf";
    $player3=realpath("sites") . "/all/libraries/player/playerSinglePackage/playerSingle.swf";
and submitted to the AudioField issues forum.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
y
x
P
h
w
i
Enter the code without spaces and pay attention to upper/lower case.
Syndicate content