--- emfield/contrib/emaudio/providers/podomatic.inc	Wed Dec 17 00:12:56 2008
+++ emfield/contrib/emaudio/providers/podomatic.inc	Tue Apr 07 00:44:48 2009
@@ -86,24 +86,16 @@
 function theme_emaudio_podomatic_flash($embed, $width, $height, $autoplay) {
   // <object width="320" height="315"><param name="movie" value="http://www.podOmatic.com/flash/flashcatcher.swf"></param><embed type="application/x-shockwave-flash" src="http://www.podOmatic.com/flash/flashcatcher.swf" width="320" height="315" flashvars="playlist_url=http://funkylondon.podOmatic.com/xspf.xspf" ></embed></object><br /><a href="http://www.podOmatic.com/podcast/embed/funkylondon" style="text-decoration: none"><font size="1" face="Verdana, Arial, Helvetica, sans-serif" color="#0033ff"><strong>Click here to get your own player.</strong></font></a><br><br>
 
-   if ($embed) {
+  if ($embed) {
    /*    
     if ($autoplay) {
       $autoplay_value = '&autostart=1';
     }
 	*/
-    $output .= "
-    <object type=\"application/x-shockwave-flash\" height=\"$height\" width=\"$width\" data=\"http://www.podOmatic.com/flash/flashcatcher.swf\" id=\"audioPlayback\">
-      <param name=\"movie\" value=\"http://www.podOmatic.com/flash/flashcatcher.swf\">
-      <param name=\"allowScriptAcess\" value=\"sameDomain\">
-      <param name=\"quality\" value=\"best\">
-      <param name=\"bgcolor\" value=\"#FFFFFF\">
-      <param name=\"scale\" value=\"noScale\">
-      <param name=\"salign\" value=\"TL\">
-      <param name=\"FlashVars\" value=\"playlist_url=http://". $embed .".podOmatic.com/xspf.xspf\" />
-      <param name=\"wmode\" value=\"transparent\" />
-    </object>
-	\n";
+    $output = '<embed type="application/x-shockwave-flash" 
+      src="http://www.podomatic.com/swf/mediaplayer.swf" width="320" height="120" 
+      allowscriptaccess="always" allowfullscreen="true" 
+      flashvars="thumbsinplaylist=true&width=320&height=120&file=http://'.$embed.'.podOmatic.com/xspf_stream.xml&autoscroll=false&displayheight=100&searchbar=false" />';
   }
   return $output;
 }
