--- C:/Downloads/Drupal/v6/Modules/media_bliptv/providers/emvideo/bliptv.inc	Thu Feb 24 21:13:22 2011
+++ C:/Data/My Documents/The Seed Company/Safety/23May2011-1/staging/emfield/contrib/emvideo/providers/media_bliptv/providers/emvideo/bliptv.inc	Mon May 23 14:53:00 2011
@@ -64,6 +64,30 @@
   );
 }
 
+function  emvideo_bliptv_convert($embed = NULL) {
+  $url = 'http://blip.tv/play/';
+  if ($url == substr($embed, 0, strlen($url))) {
+    return $embed;
+  }
+  
+  $url = 'http://blip.tv/';
+  if ($url == substr($embed, 0, strlen($url))) {
+    module_load_include('inc', 'emfield', 'includes/emfield.xml');
+    $info = _emfield_retrieve_xml($embed . "?skin=rss");
+    if (!empty($info['channel']['item']['link'])) {
+      return $info['channel']['item']['link'];
+    }
+    else {
+      return $embed;
+    }
+  }
+  else {
+    return $embed;
+  }
+  return $embed;
+}
+
+
 /**
  * hook emvideo_PROVIDER_duration($item)
  * Returns the duration of the video in seconds.
