### Eclipse Workspace Patch 1.0
#P emfield
Index: contrib/emvideo/providers/veoh.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/veoh.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 veoh.inc
--- contrib/emvideo/providers/veoh.inc	10 Aug 2008 22:22:12 -0000	1.1.2.1
+++ contrib/emvideo/providers/veoh.inc	12 Aug 2008 20:28:08 -0000
@@ -65,9 +65,9 @@
 
 function theme_emvideo_veoh_flash($embed, $width, $height, $autoplay) {
   if ($embed) {
-    $autoplay = $autoplay ? '&videoAutoPlay=1' : '&videoAutoPlay=0';
+    $autoplay = $autoplay ? '&amp;videoAutoPlay=1' : '&amp;videoAutoPlay=0';
 
-    $output .= '<embed src="http://www.veoh.com/videodetails2.swf?permalinkId='. $embed .'&id=9183600&player=videodetailsembedded'. $autoplay .'" allowFullScreen="true" width="'. $width .'" height="'. $height .'" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
+    $output .= '<embed src="http://www.veoh.com/videodetails2.swf?permalinkId='. $embed .'&amp;id=9183600&amp;player=videodetailsembedded'. $autoplay .'" allowFullScreen="true" width="'. $width .'" height="'. $height .'" bgcolor="#FFFFFF" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
   }
   return $output;
 }
Index: contrib/emvideo/providers/myspace.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/myspace.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 myspace.inc
--- contrib/emvideo/providers/myspace.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/myspace.inc	12 Aug 2008 20:28:08 -0000
@@ -31,7 +31,7 @@
 
 function emvideo_myspace_request($code, $cacheable = TRUE) {
   $args = array();
-  return module_invoke('emfield', 'request_xml', 'myspace', "http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=$code", $args, $cacheable);
+  return module_invoke('emfield', 'request_xml', 'myspace', "http://vids.myspace.com/index.cfm?fuseaction=vids.individual&amp;videoid=$code", $args, $cacheable);
 }
 
 /**
@@ -41,13 +41,13 @@
   if (!$cached || !$cache = cache_get('myspace:thumbnail:'. $video, 'cache')) {
     $vidid = drupal_substr($video, 0, 10);
 
-    if ($str = file_get_contents("http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid=$vidid")) {
+    if ($str = file_get_contents("http://vids.myspace.com/index.cfm?fuseaction=vids.individual&amp;videoid=$vidid")) {
       // grab videos channel-id first
       $channel_id = preg_replace('/.*tvchanid=([0-9]+);.*/si', '\1', $str);
 
       if (is_numeric($channel_id)) {
         // now from channel-page grab videos thumbnail
-        $str2 = file_get_contents("http://vids.myspace.com/index.cfm?fuseaction=vids.viewVideos&channelid=$channel_id");
+        $str2 = file_get_contents("http://vids.myspace.com/index.cfm?fuseaction=vids.viewVideos&amp;channelid=$channel_id");
 
         if ($str2) {
           $picturelink = preg_replace('@.*href="[^"]+'. $vidid .'"[^>]+><img[^>]+src="([^"]+)".*@si', '\1',  $str2);
@@ -70,15 +70,15 @@
 function emvideo_myspace_extract($embed) {
   // <a href="http://myspacetv.com/index.cfm?fuseaction=vids.individual&videoid=14686340">What's That Floating In The Water Part 1</a><br><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=14686340&v=2&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed><br><a href="http://myspacetv.com/index.cfm?fuseaction=vids.addToProfileConfirm&videoid=14686340&title=What's That Floating In The Water Part 1">Add to My Profile</a> | <a href="http://myspacetv.com/index.cfm?fuseaction=vids.home">More Videos</a>
   return array(
-    '@src="myspace\.com/index.cfm\?fuseaction=vids\.individual&videoid=([^&"]+)@i',
-    '@myspace\.com/index\.cfm\?fuseaction=vids\.individual&videoid=([^&"]+)@i',
-    '@src="myspacetv\.com/index.cfm\?fuseaction=vids\.individual&videoid=([^&"]+)"@i',
-    '@myspacetv\.com/index\.cfm\?fuseaction=vids\.individual&videoid=([^&"]+)@i',
+    '@src="myspace\.com/index.cfm\?fuseaction=vids\.individual&amp;videoid=([^&"]+)@i',
+    '@myspace\.com/index\.cfm\?fuseaction=vids\.individual&amp;videoid=([^&"]+)@i',
+    '@src="myspacetv\.com/index.cfm\?fuseaction=vids\.individual&amp;videoid=([^&"]+)"@i',
+    '@myspacetv\.com/index\.cfm\?fuseaction=vids\.individual&amp;videoid=([^&"]+)@i',
   );
 }
 
 function emvideo_myspace_video_link($video_code) {
-  return 'http://vids.myspace.com/index.cfm?fuseaction=vids.individual&videoid='. $video_code;
+  return 'http://vids.myspace.com/index.cfm?fuseaction=vids.individual&amp;videoid='. $video_code;
 }
 
 function theme_emvideo_myspace_flash($embed, $width, $height) {
@@ -91,7 +91,7 @@
       <param name=\"bgcolor\" value=\"#FFFFFF\"/>
       <param name=\"scale\" value=\"noScale\"/>
       <param name=\"salign\" value=\"TL\"/>
-      <param name=\"FlashVars\" value=\"m=$embed&type=video\" />
+      <param name=\"FlashVars\" value=\"m=$embed&amp;type=video\" />
       <param name=\"wmode\" value=\"transparent\" />
     </object>\n";
   }
Index: contrib/emvideo/providers/jumpcut.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/jumpcut.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 jumpcut.inc
--- contrib/emvideo/providers/jumpcut.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/jumpcut.inc	12 Aug 2008 20:28:08 -0000
@@ -42,7 +42,7 @@
 
 function theme_emvideo_jumpcut_flash($embed, $width, $height) {
   if ($embed) {
-    $output .= '<embed src="http://jumpcut.com/media/flash/jump.swf?id='. $embed .'&asset_type=movie&asset_id='. $embed .'&eb=1" width="'. $width .'" height="'. $height .'" type="application/x-shockwave-flash"></embed>';
+    $output .= '<embed src="http://jumpcut.com/media/flash/jump.swf?id='. $embed .'&amp;asset_type=movie&amp;asset_id='. $embed .'&eb=1" width="'. $width .'" height="'. $height .'" type="application/x-shockwave-flash"></embed>';
   }
   return $output;
 }
Index: contrib/emvideo/providers/dailymotion.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/dailymotion.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 dailymotion.inc
--- contrib/emvideo/providers/dailymotion.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/dailymotion.inc	12 Aug 2008 20:28:07 -0000
@@ -96,7 +96,7 @@
 function theme_emvideo_dailymotion_flash($embed, $width, $height, $autoplay) {
   if ($embed) {
     if ($autoplay) {
-      $autoplay_value = '&autoStart=1';
+      $autoplay_value = '&amp;autoStart=1';
     }
     $output .= "    <object type=\"application/x-shockwave-flash\" height=\"$height\" width=\"$width\" data=\"http://www.dailymotion.com/swf/$embed". $autoplay_value ."\" id=\"VideoPlayback\">
       <param name=\"movie\" value=\"http://www.dailymotion.com/swf/$embed". $autoplay_value ."\" />
Index: contrib/emvideo/providers/livevideo.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/livevideo.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 livevideo.inc
--- contrib/emvideo/providers/livevideo.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/livevideo.inc	12 Aug 2008 20:28:08 -0000
@@ -114,7 +114,7 @@
  */
 function theme_emvideo_livevideo_flash($embed, $width, $height, $autoplay) {
   if ($embed) {
-    $autostart = $autoplay ? '&autoStart=1' : '';
+    $autostart = $autoplay ? '&amp;autoStart=1' : '';
     $output .= '<embed src="http://www.livevideo.com/flvplayer/embed/'. $embed . $autostart .'" type="application/x-shockwave-flash" quality="high" WIDTH="'. $width .'" HEIGHT="'. $height .'" wmode="transparent"></embed>';
   }
 
Index: contrib/emvideo/providers/brightcove.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/brightcove.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 brightcove.inc
--- contrib/emvideo/providers/brightcove.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/brightcove.inc	12 Aug 2008 20:28:07 -0000
@@ -87,7 +87,7 @@
 function theme_emvideo_brightcove_flash($embed, $width, $height, $autoplay) {
   if ($embed) {
     $autostart = $autoplay ? 'autoStart=true' : 'autoStart=false';
-    $output .= "<embed src='http://www.brightcove.tv/playerswf' bgcolor='#FFFFFF' flashVars='initVideoId=$embed&servicesURL=http://www.brightcove.tv&viewerSecureGatewayURL=https://www.brightcove.tv&cdnURL=http://admin.brightcove.com&$autostart' base='http://admin.brightcove.com' name='bcPlayer' width='$width' height='$height' allowFullScreen='true' allowScriptAccess='always' seamlesstabbing='false' type='application/x-shockwave-flash' swLiveConnect='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";
+    $output .= "<embed src='http://www.brightcove.tv/playerswf' bgcolor='#FFFFFF' flashVars='initVideoId=$embed&amp;servicesURL=http://www.brightcove.tv&amp;viewerSecureGatewayURL=https://www.brightcove.tv&amp;cdnURL=http://admin.brightcove.com&amp;$autostart' base='http://admin.brightcove.com' name='bcPlayer' width='$width' height='$height' allowFullScreen='true' allowScriptAccess='always' seamlesstabbing='false' type='application/x-shockwave-flash' swLiveConnect='true' pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'></embed>";
   }
   return $output;
 }
Index: contrib/emvideo/providers/zzz_custom_url.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/zzz_custom_url.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 zzz_custom_url.inc
--- contrib/emvideo/providers/zzz_custom_url.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/zzz_custom_url.inc	12 Aug 2008 20:28:09 -0000
@@ -128,7 +128,7 @@
         return '<embed src="'. $url .'" width="'. $width .'" height="'. $height .'" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
       case 'flv':
         $autostart = $autoplay ? 'true' : 'false';
-        return '<embed src="http://freevideocoding.com/flvplayer.swf?file='. $url .'&autoStart='. $autostart .'" width="'. $width .'" height="'. $height .'" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
+        return '<embed src="http://freevideocoding.com/flvplayer.swf?file='. $url .'&amp;autoStart='. $autostart .'" width="'. $width .'" height="'. $height .'" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
     }
   }
 }
Index: contrib/emvideo/providers/imeem.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/imeem.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 imeem.inc
--- contrib/emvideo/providers/imeem.inc	10 Aug 2008 22:22:12 -0000	1.1.2.1
+++ contrib/emvideo/providers/imeem.inc	12 Aug 2008 20:28:08 -0000
@@ -4,7 +4,7 @@
 define('EMVIDEO_IMEEM_MAIN_URL', 'http://www.imeem.com/');
 define('EMVIDEO_IMEEM_API_INFO', 'http://www.imeem.com/developers/documentation/');
 define('EMVIDEO_IMEEM_API_APPLICATION_URL', 'http://www.imeem.com/developers/');
-define('EMVIDEO_IMEEM_XML', 'http://www.imeem.com/api/xml/mediaGetInfo?&mediaIds=');
+define('EMVIDEO_IMEEM_XML', 'http://www.imeem.com/api/xml/mediaGetInfo?&amp;mediaIds=');
 
 function emvideo_imeem_info() {
   $name = t('IMEEM');
@@ -48,7 +48,7 @@
 
 function emvideo_imeem_request($embed, $cacheable = TRUE) {
   $args = array('docid' => $embed);
-  return module_invoke('emfield', 'request_xml', 'imeem', EMVIDEO_IMEEM_XML . $embed .'&version=1.0', $args, $cacheable);
+  return module_invoke('emfield', 'request_xml', 'imeem', EMVIDEO_IMEEM_XML . $embed .'&amp;version=1.0', $args, $cacheable);
 }
 
 function emvideo_imeem_extract($embed = '') {
@@ -63,7 +63,7 @@
 
 function theme_emvideo_imeem_flash($embed, $width, $height, $autoplay) {
   $autoplay = $autoplay ? '/aus=true' : '/aus=false';
-  $colors = 'backColor=666666&primaryColor=cccccc&secondaryColor=333333&linkColor=cccccc';
+  $colors = 'backColor=666666&amp;primaryColor=cccccc&amp;secondaryColor=333333&amp;linkColor=cccccc';
 
   $output .= '<object width="'. $width .'" height="'. $height .'">';
   $output .= '<param name="movie" value="http://media.imeem.com/v/'. $embed . $autoplay .'/pv=2"></param>';
Index: contrib/emvideo/providers/bliptv.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/bliptv.inc,v
retrieving revision 1.1.2.5
diff -u -r1.1.2.5 bliptv.inc
--- contrib/emvideo/providers/bliptv.inc	12 Aug 2008 02:51:05 -0000	1.1.2.5
+++ contrib/emvideo/providers/bliptv.inc	12 Aug 2008 20:28:07 -0000
@@ -250,13 +250,13 @@
     $id = isset($options['id']) ? $options['id'] : "emfield_videocck_player_bliptv_$count";
     $autoplay = $autoplay ? 'autoStart=true' : 'autoStart=false';
 
-    $rss = $item['data']['showpage'] ? "&feedurl={$item['data']['showpage']}/rss" : '';
+    $rss = $item['data']['showpage'] ? "&amp;feedurl={$item['data']['showpage']}/rss" : '';
     $post_id = $item['data']['post_id'];
     // if/when we allow featured shows to be embedded, this will handle that.
 //     $file = $item['data']['is_show'] ? "http://$code.blip.tv/rss/flash/" : 'http://blip.tv/rss/flash/'. $item['data']['post_id'];
     $embed_code = $item['data']['flv']['embed_code']['0'];
     $file = 'http://blip.tv/rss/flash/'. $item['data']['post_id'];
-    $embed_file = 'http://blip.tv/scripts/flash/showplayer.swf?enablejs=true'. $rss .'&file='. $file .'&showplayerpath=http://blip.tv/scripts/flash/showplayer.swf';
+    $embed_file = 'http://blip.tv/scripts/flash/showplayer.swf?enablejs=true'. $rss .'&amp;file='. $file .'&amp;showplayerpath=http://blip.tv/scripts/flash/showplayer.swf';
 
    // If you want strict html you may want to use the following  code instead of the one blip provides 
    // $output .= '<object type="application/x-shockwave-flash" data="'. $embed_file .'" width="'. $width .'" height="'. $height .'" allowfullscreen="true" id="'. $id .'"><param name="movie" value="'. $embed_file .'" /><param name="quality" value="best" /><embed src="'. $embed_file .'" quality="best" width="'. $width .'" height="'. $height .'" name="'. $id .'" type="application/x-shockwave-flash"></embed></object>'; 
Index: contrib/emvideo/providers/lastfm.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/lastfm.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 lastfm.inc
--- contrib/emvideo/providers/lastfm.inc	10 Aug 2008 22:22:12 -0000	1.1.2.1
+++ contrib/emvideo/providers/lastfm.inc	12 Aug 2008 20:28:08 -0000
@@ -93,7 +93,7 @@
   if ($embed) {
     // set css id count
     $count++;
-    $output .= '<object width="'. $width .'" height="'. $height .'" id="emfield-videocck-player-lastfm-'. $count .'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" align="middle"> <param name="movie" value="http://cdn.last.fm/videoplayer/33/VideoPlayer.swf" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="bgcolor" value="#000000" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="embed=true&creator=&title=&uniqueName='. $embed .'&albumArt=&album=&duration=&image=http://userserve-ak.last.fm/serve/image:320/'. $embed .'.jpg&FSSupport=true" /> <embed src="http://cdn.last.fm/videoplayer/33/VideoPlayer.swf" menu="false" quality="high" bgcolor="#000000" width="'. $width .'" height="'. $height .'" name="player" align="middle" allowFullScreen="true" flashvars="embed=true&creator=&title=&uniqueName='. $embed .'&albumArt=&album=&duration=&image=http://userserve-ak.last.fm/serve/image:320/'. $embed .'.jpg&FSSupport=true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>';
+    $output .= '<object width="'. $width .'" height="'. $height .'" id="emfield-videocck-player-lastfm-'. $count .'" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" align="middle"> <param name="movie" value="http://cdn.last.fm/videoplayer/33/VideoPlayer.swf" /> <param name="menu" value="false" /> <param name="quality" value="high" /> <param name="bgcolor" value="#000000" /> <param name="allowFullScreen" value="true" /> <param name="flashvars" value="embed=true&amp;creator=&amp;title=&amp;uniqueName='. $embed .'&amp;albumArt=&amp;album=&amp;duration=&amp;image=http://userserve-ak.last.fm/serve/image:320/'. $embed .'.jpg&amp;FSSupport=true" /> <embed src="http://cdn.last.fm/videoplayer/33/VideoPlayer.swf" menu="false" quality="high" bgcolor="#000000" width="'. $width .'" height="'. $height .'" name="player" align="middle" allowFullScreen="true" flashvars="embed=true&amp;creator=&amp;title=&amp;uniqueName='. $embed .'&amp;albumArt=&amp;album=&amp;duration=&amp;image=http://userserve-ak.last.fm/serve/image:320/'. $embed .'.jpg&amp;FSSupport=true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object>';
   }
   return $output;
 }
Index: contrib/emvideo/providers/google.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/google.inc,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 google.inc
--- contrib/emvideo/providers/google.inc	5 Aug 2008 00:26:34 -0000	1.1.2.4
+++ contrib/emvideo/providers/google.inc	12 Aug 2008 20:28:08 -0000
@@ -58,7 +58,7 @@
 
 function theme_emvideo_google_flash($embed, $width, $height, $autoplay) {
   if ($embed) {
-    $autoplay = $autoplay ? '&autoPlay=true' : '';
+    $autoplay = $autoplay ? '&amp;autoPlay=true' : '';
     // this will be executed by not Internet Explorer browsers
     $output = '<!--[if !IE]> <-->
   <object type="application/x-shockwave-flash" width="'. $width .'" height="'. $height .'"
Index: contrib/emvideo/providers/guba.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/guba.inc,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 guba.inc
--- contrib/emvideo/providers/guba.inc	10 Aug 2008 22:22:12 -0000	1.1.2.1
+++ contrib/emvideo/providers/guba.inc	12 Aug 2008 20:28:08 -0000
@@ -63,8 +63,8 @@
 }
 
 function theme_emvideo_guba_flash($embed, $width, $height, $autoplay) {
-  $autoplay = $autoplay ? '&autoPlay=true' : '&autoPlay=false';
-  $output .= '<embed src="http://www.guba.com/f/root.swf?video_url=http://free.guba.com/uploaditem/'. $embed .'/flash.flv&isEmbeddedPlayer=false'. $autoplay .'" quality="best" bgcolor="#FFFFFF" menu="true" width="'. $width .'" height="'. $height .'" name="root" id="root" align="middle" scaleMode="noScale" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
+  $autoplay = $autoplay ? '&amp;autoPlay=true' : '&amp;autoPlay=false';
+  $output .= '<embed src="http://www.guba.com/f/root.swf?video_url=http://free.guba.com/uploaditem/'. $embed .'/flash.flv&amp;isEmbeddedPlayer=false'. $autoplay .'" quality="best" bgcolor="#FFFFFF" menu="true" width="'. $width .'" height="'. $height .'" name="root" id="root" align="middle" scaleMode="noScale" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>';
   return $output;
 }
 
Index: contrib/emvideo/providers/youtube.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/emfield/contrib/emvideo/providers/Attic/youtube.inc,v
retrieving revision 1.1.2.8
diff -u -r1.1.2.8 youtube.inc
--- contrib/emvideo/providers/youtube.inc	12 Aug 2008 19:38:44 -0000	1.1.2.8
+++ contrib/emvideo/providers/youtube.inc	12 Aug 2008 20:28:09 -0000
@@ -243,17 +243,17 @@
     $related = isset($options['related']) ? $options['related'] : variable_get('emvideo_youtube_show_related_videos', 0);
     $related = "rel=$related";
     $autoplay = isset($options['autoplay']) ? $options['autoplay'] : $autoplay;
-    $autoplay_value = $autoplay ? '&autoplay=1' : '';
+    $autoplay_value = $autoplay ? '&amp;autoplay=1' : '';
     $show_colors = isset($options['show_colors']) ? $options['show_colors'] : variable_get('emvideo_youtube_show_colors', FALSE);
     if ($show_colors) {
       $color1 = isset($options['color1']) ? $options['color1'] : variable_get('emvideo_youtube_colors_color1', emvideo_YOUTUBE_COLOR1_DEFAULT);
       $color2 = isset($options['color2']) ? $options['color2'] : variable_get('emvideo_youtube_colors_color2', emvideo_YOUTUBE_COLOR2_DEFAULT);
-      $colors='&color1=0x'. emvideo_youtube_convert_color($color1) .'&color2=0x'. emvideo_youtube_convert_color($color2);
+      $colors='&amp;color1=0x'. emvideo_youtube_convert_color($color1) .'&amp;color2=0x'. emvideo_youtube_convert_color($color2);
     }
     $border = isset($options['border']) ? $options['border'] : variable_get('emvideo_youtube_show_border', FALSE);
-    $border = $border ? '&border=1' : '';
+    $border = $border ? '&amp;border=1' : '';
     $enablejsapi = isset($options['enablejsapi']) ? $options['enablejsapi'] : variable_get('emvideo_youtube_enablejsapi', TRUE);
-    $enablejsapi = $enablejsapi ? '&enablejsapi=1&playerapiid=ytplayer' : '';
+    $enablejsapi = $enablejsapi ? '&amp;enablejsapi=1&amp;playerapiid=ytplayer' : '';
     $allowScriptAcess = $enablejsapi ? 'always' : 'sameDomain';
     $id = isset($options['id']) ? $options['id'] : 'video-cck-youtube-flash-'. (++$count);
     $div_id = isset($options['div_id']) ? $options['div_id'] : 'video-cck-youtube-flash-wrapper-'. $count;
Index: .project
===================================================================
RCS file: .project
diff -N .project
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ .project	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>emfield</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.php.core.ValidationManagerWrapper</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.php.core.PHPNature</nature>
+	</natures>
+</projectDescription>
