Index: contrib/video_cck/providers/youtube.inc
===================================================================
--- contrib/video_cck/providers/youtube.inc	(revision 44)
+++ contrib/video_cck/providers/youtube.inc	(working copy)
@@ -66,6 +66,23 @@
     '#default_value' => variable_get('video_cck_youtube_api_secret', ''),
     '#description' => t('If you have a secret for the YouTube API, enter it here.'),
   );
+  $form['youtube']['colors'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Embedded Video Player Colors'),
+    '#description' => t('Enter two colors to customize the embedded player. Should be in hexidecimal form (RRGGBB)'),
+    '#collapsible' => true,
+    '#collapsed' => true,
+  );
+  $form['youtube']['colors']['video_cck_youtube_colors_color1'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Color 1'),
+    '#default_value' => variable_get('video_cck_youtube_colors_color1',''),
+  );
+  $form['youtube']['colors']['video_cck_youtube_colors_color2'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Color 2'),
+    '#default_value' => variable_get('video_cck_youtube_colors_color2',''),
+  );
   return $form;
 }
 
@@ -126,8 +143,13 @@
     if ($autoplay) {
       $autoplay_value = '&autoplay=1';
     }
+    $color1 = variable_get('video_cck_youtube_colors_color1','');
+    $color2 = variable_get('video_cck_youtube_colors_color2','');
+    if ($color1 || $color2) {
+      $colors='&color1=0x'.$color1.'&color2=0x'.$color2;
+    }
     $related = variable_get('video_cck_youtube_show_related_videos', 0);
-    $output .= "<object height=\"$height\" width=\"$width\"><param name=\"movie\" value=\"http://www.youtube.com/v/$embed\"><param name=\"wmode\" value=\"transparent\"><embed src=\"http://www.youtube.com/v/$embed&rel=$related" . $autoplay_value . "\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" height=\"$height\" width=\"$width\"></object>";
+    $output .= "<object height=\"$height\" width=\"$width\"><param name=\"movie\" value=\"http://www.youtube.com/v/$embed\"><param name=\"wmode\" value=\"transparent\"><embed src=\"http://www.youtube.com/v/$embed&rel=$related" . $autoplay_value . $colors . "\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" height=\"$height\" width=\"$width\"></object>";
   }
   return $output;
 }
