Index: providers/soundcloud.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/media_soundcloud/providers/soundcloud.inc,v
retrieving revision 1.1
diff -u -p -r1.1 soundcloud.inc
--- providers/soundcloud.inc	27 Jul 2010 21:16:45 -0000	1.1
+++ providers/soundcloud.inc	29 Sep 2010 14:05:16 -0000
@@ -72,6 +72,12 @@ function emaudio_soundcloud_extract($emb
  * The embedded flash displaying the SoundCloud audio.
  */
 function theme_emaudio_soundcloud_flash($item, $embed, $width, $height, $autoplay) {
+  // If the swf element is NULL, then we have an embed code instead of a URL; 
+  // return this directly.
+  if (is_null($item['data']['swf'])) {
+    return $item['embed'];
+  }
+
   $output = '';
   if ($embed) {
     if ($item['data']['emaudio_soundcloud_version'] >= 1) {
