diff --git a/audiofield.module b/audiofield.module
index 5db267d..8ff997f 100644
--- a/audiofield.module
+++ b/audiofield.module
@@ -114,7 +114,6 @@ function audiofield_theme() {
  * Get the object for the suitable player for the parameter resource
 */
 function audiofield_get_player($audio_url, $op) {
-  global $base_path;
    //Lets convert $op to lowercase
    $op = strtolower($op);
    $audio_players=audiofield_players();
@@ -123,7 +122,7 @@ function audiofield_get_player($audio_url, $op) {
    if (empty($player)) {
      return audiofield_embeddedplayer($audio_url);
    }
-  return call_user_func($player['callback'], $base_path . $player['path'], $audio_url);
+  return call_user_func($player['callback'], $player['path'], $audio_url);
 }
 
 /**
diff --git a/audiofield.players.inc b/audiofield.players.inc
index dcbd088..5370190 100644
--- a/audiofield.players.inc
+++ b/audiofield.players.inc
@@ -285,7 +285,7 @@ function audiofield_jplayer($player_path, $audio_file) {
     $instanceIndex += 1;
     $path_parts =   explode(  '/', $player_path );
     $audio_file_name = array_pop( $path_parts );
-    $player_base_path = implode( '/', $path_parts );
+    $player_base_path = base_path() . implode( '/', $path_parts );
     drupal_add_js($player_path);
     $audio_players = audiofield_players();
     drupal_add_css($audio_players['jplayer']['css']);
