Index: xspf_slim.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/players/xspf_slim.inc,v
retrieving revision 1.2
diff -u -r1.2 xspf_slim.inc
--- xspf_slim.inc	23 Jan 2007 04:36:49 -0000	1.2
+++ xspf_slim.inc	30 Jan 2007 20:49:28 -0000
@@ -34,7 +34,8 @@
 }
 
 function audio_xspf_slim_player($options) {
-  $url = url(drupal_get_path('module', 'audio') .'/players/xspf_slim.swf', drupal_query_string_encode($options));
+  global $base_url;
+  $url = $base_url .'/'. drupal_get_path('module', 'audio') .'/players/xspf_slim.swf?'. drupal_query_string_encode($options);
 
 $output = <<<EOT
 <object type="application/x-shockwave-flash" data="$url" width="400" height="15">';
Index: 1pixelout.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/players/1pixelout.inc,v
retrieving revision 1.1
diff -u -r1.1 1pixelout.inc
--- 1pixelout.inc	30 Dec 2006 01:20:48 -0000	1.1
+++ 1pixelout.inc	30 Jan 2007 20:53:43 -0000
@@ -1,44 +1,44 @@
-<?php
-// $Id: 1pixelout.inc,v 1.1 2006/12/30 01:20:48 drewish Exp $
-
-function audio_1pixelout_audio_player() {
-  $items['1pixelout'] = array(
-    'module'      => 'audio',
-    'title'       => t('1pixelout Flash player'),
-    'description' => t('Written by Martin Laine as part of the Wordpress Audio Player plugin.'),
-    'url'         => t('http://www.1pixelout.net/code/audio-player-wordpress-plugin/'),
-    'preview'     => 'players/1pixelout.png',
-    'formats'     => array('wav', 'mp3'),
-    'theme_node'  => 'audio_1pixelout_node_player',
-  );
-  return $items;
-}
-
-function theme_audio_1pixelout_node_player($node, $options = array()) {
-  // make sure it's compatible with the flash player
-  if (!audio_is_flash_playable($node)) {
-    return NULL;
-  }
-
-  $options['soundFile'] = check_url($node->url_play);
-
-  $url = url(drupal_get_path('module', 'audio') .'/players/1pixelout.swf');
-
-  $flashvars = array();
-  foreach ($options as $key => $val) {
-    $flashvars[] = rawurlencode($key) .'='. rawurlencode($val);
-  }
-  $flashvars = implode('&amp;', $flashvars);
-
-$output = <<<EOT
-<object type="application/x-shockwave-flash" data="$url" width="290" height="24" >
-  <param name="movie" value="$url" />
-  <param name="wmode" value="transparent" />
-  <param name="menu" value="false" />
-  <param name="quality" value="high" />
-  <param name="FlashVars" value="$flashvars" />
-</object>
-EOT;
-
-  return $output;
+<?php
+// $Id: 1pixelout.inc,v 1.1 2006/12/30 01:20:48 drewish Exp $
+
+function audio_1pixelout_audio_player() {
+  $items['1pixelout'] = array(
+    'module'      => 'audio',
+    'title'       => t('1pixelout Flash player'),
+    'description' => t('Written by Martin Laine as part of the Wordpress Audio Player plugin.'),
+    'url'         => t('http://www.1pixelout.net/code/audio-player-wordpress-plugin/'),
+    'preview'     => 'players/1pixelout.png',
+    'formats'     => array('wav', 'mp3'),
+    'theme_node'  => 'audio_1pixelout_node_player',
+  );
+  return $items;
+}
+
+function theme_audio_1pixelout_node_player($node, $options = array()) {
+  // make sure it's compatible with the flash player
+  if (!audio_is_flash_playable($node)) {
+    return NULL;
+  }
+
+  $options['soundFile'] = check_url($node->url_play);
+  global $base_url;
+  $url = $base_url .'/'. drupal_get_path('module', 'audio') .'/players/1pixelout.swf';
+
+  $flashvars = array();
+  foreach ($options as $key => $val) {
+    $flashvars[] = rawurlencode($key) .'='. rawurlencode($val);
+  }
+  $flashvars = implode('&amp;', $flashvars);
+
+$output = <<<EOT
+<object type="application/x-shockwave-flash" data="$url" width="290" height="24" >
+  <param name="movie" value="$url" />
+  <param name="wmode" value="transparent" />
+  <param name="menu" value="false" />
+  <param name="quality" value="high" />
+  <param name="FlashVars" value="$flashvars" />
+</object>
+EOT;
+
+  return $output;
 }
\ No newline at end of file
Index: button.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/players/button.inc,v
retrieving revision 1.2
diff -u -r1.2 button.inc
--- button.inc	23 Jan 2007 04:37:20 -0000	1.2
+++ button.inc	30 Jan 2007 20:49:45 -0000
@@ -44,8 +44,8 @@
 
   $options['song_url'] = check_url($node->url_play);
   $options['song_title'] = check_plain($node->audio_tags['title']);
-
-  $url = url(drupal_get_path('module', 'audio') .'/players/button.swf', drupal_query_string_encode($options));
+  global $base_url;
+  $url = $base_url .'/'. drupal_get_path('module', 'audio') .'/players/button.swf?'. drupal_query_string_encode($options);
 
 $output = <<<EOT
 <object type="application/x-shockwave-flash" data="$url" width="17" height="17">';
Index: xspf_extended.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/audio/players/xspf_extended.inc,v
retrieving revision 1.2
diff -u -r1.2 xspf_extended.inc
--- xspf_extended.inc	23 Jan 2007 04:36:49 -0000	1.2
+++ xspf_extended.inc	30 Jan 2007 20:49:14 -0000
@@ -34,7 +34,8 @@
 }
 
 function audio_xspf_extended_player($options) {
-  $url = url(base_path() . drupal_get_path('module', 'audio') .'/players/xspf_extended.swf', drupal_query_string_encode($options));
+  global $base_url;
+  $url = $base_url .'/'. drupal_get_path('module', 'audio') .'/players/xspf_extended.swf?' . drupal_query_string_encode($options);
 
 $output = <<<EOT
 <object type="application/x-shockwave-flash" data="$url" width="350" height="153">';
