Index: /Users/jeff/Sites/cwr/sites/all/modules/contrib/emfield/contrib/video_cck/providers/bliptv.inc
===================================================================
--- /Users/jeff/Sites/cwr/sites/all/modules/contrib/emfield/contrib/video_cck/providers/bliptv.inc	(revision 160)
+++ /Users/jeff/Sites/cwr/sites/all/modules/contrib/emfield/contrib/video_cck/providers/bliptv.inc	(working copy)
@@ -123,12 +123,8 @@
   $data['blip_user']['username'] = $api['CREATEDBY']['LOGIN'][0] ? $api['CREATEDBY']['LOGIN'][0] : $rss['ITEM']['BLIP:USER'][0];
   $data['blip_user']['url'] = $api['CREATEDBY']['LINKS']['LINK'][1] ? $api['CREATEDBY']['LINKS']['LINK'][1] : 'http://blip.tv/users/view/' . $data['blip_user']['username'];
 
-  foreach ((array)$api['en']['LINKS']['LINK'] as $link) {
-    if ($link['TYPE'] == 'text/html') {
-      $data['post_id'] = $link['HREF'];
-      break;
-    }
-  }
+  $data['post_id'] = $api['PAYLOAD']['ASSET']['ID'][0];
+  
   if (!$data['post_id']) {
     // this is the code actually used by the player, even though it's different than for the page
     $data['post_id'] = $rss['ITEM']['BLIP:POSTS_ID'][0];
@@ -133,7 +129,7 @@
     // this is the code actually used by the player, even though it's different than for the page
     $data['post_id'] = $rss['ITEM']['BLIP:POSTS_ID'][0];
   }
-
+ 
   return $data;
 }
 
@@ -244,9 +240,41 @@
 
 function theme_video_cck_bliptv_flash($embed, $width, $height, $field, $item, $autoplay, $flv, $thumbnail) {
   if ($embed) {
-    $autoplay = $autoplay ? 'autoStart=true' : 'autoStart=false';
-    $output .= '<embed wmode="transparent" src="http://blip.tv/scripts/flash/blipplayer.swf?' . $autoplay . '&file=' . $flv . '%3Fsource%3D3" quality="high" width="' .$width . '" height="' . $height . '" name="movie" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
+    $post_id = $item['data']['post_id'];
+    $height = $height + 30;
+    $autoplay = $autoplay ? 'autoStart="true"' : 'autoStart="false"';
+    $output = <<<EOF
+<object
+    type="application/x-shockwave-flash"
+    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
+    codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
+    width="$width"
+    height="$height"
+    id="showplayer"
+    allowfullscreen="true"
+    allowscriptaccess="always"
+    $autoplay
+
+     <param name="movie"
+       value="http://blip.tv/scripts/flash/showplayer.swf?file=http%3A//blip.tv/rss/flash/$post_id"
+     />
+     <param name="allowscriptaccess" value="always" />
+     <param name="allowfullscreen" value="true" />
+     <param name="quality" value="best" />
+     <param name="wmode" value="window" />
+     <embed
+        type="application/x-shockwave-flash"
+        width="$width"
+        height="$height"
+        id="shoplayerembed"
+        src="http://blip.tv/scripts/flash/showplayer.swf?file=http%3A//blip.tv/rss/flash/$post_id"
+        pluginspage="http://www.macromedia.com/go/getflashplayer"
+        wmode="window"
+        allowfullscreen="true"
+        allowscriptaccess="always"
+     />
+</object>
+EOF;
   }
   return $output;
 }
