--- drigg_embed_old/drigg_embed.module 2008-08-30 00:48:37.000000000 -0700 +++ drigg_embed.module 2008-10-31 21:17:35.000000000 -0700 @@ -207,7 +207,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('|http://videos.sapo.pt/(.*)/?$|', $url, $matches)){ if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -219,7 +219,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('|video.yahoo.com/watch/([^/]*)/(.*)$|', $url, $matches)){ if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -231,7 +231,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('|video.google.com/videoplay\?docid=(.*)$|', $url, $matches)){ if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -244,7 +244,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('|www.spike.com/video/(.*)$|', $url, $matches)){ $split = explode("/", $matches[1]); if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -281,7 +281,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('|www\.metacafe\.com/watch/(.*?)/?$|', $url, $matches)){ $split = explode("/", $matches[1]); if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -294,7 +294,7 @@ function drigg_embed_contents($o,$node_u if(preg_match('/youtube\.com\/watch\?v=([A-Za-z0-9._%-]*)[&\w;=\+_\-]*/', $url, $matches)){ if($teaser){ - $return = '
'; + $return = '
'; } else { $return = '
'; } @@ -308,7 +308,7 @@ function drigg_embed_contents($o,$node_u if(preg_match("|\.mp3$|", $url)){ if($teaser){ - return '
'; + return '
'; } else { if (variable_get('drigg_url_noshow_mp3',FALSE)) { $o->url="node/";