diff -Naurp lightbox2/js/lightbox.js lightbox2_patch/js/lightbox.js
--- lightbox2/js/lightbox.js	2008-06-29 11:25:12.000000000 -0400
+++ lightbox2_patch/js/lightbox.js	2008-11-08 10:41:50.000000000 -0500
@@ -62,6 +62,8 @@ var Lightbox = {
 
   // Video and modal options.
   enableVideo : false,
+  flvPlayer : '/flvplayer.swf',
+  flvPlayerFlashvars : '',
   isModal : false,
   isVideo : false,
   videoId : false,
@@ -102,6 +104,8 @@ var Lightbox = {
     Lightbox.iframe_height = s.iframe_height;
     Lightbox.iframe_border = s.iframe_border;
     Lightbox.enableVideo = s.enable_video;
+    Lightbox.flvPlayer = s.flvPlayer;
+    Lightbox.flvPlayerFlashvars = s.flvPlayerFlashvars;
 
     // Attach lightbox to any links with lightbox rels.
     Lightbox.initList();
diff -Naurp lightbox2/js/lightbox_video.js lightbox2_patch/js/lightbox_video.js
--- lightbox2/js/lightbox_video.js	2008-06-20 09:56:52.000000000 -0400
+++ lightbox2_patch/js/lightbox_video.js	2008-11-08 10:55:40.000000000 -0500
@@ -44,25 +44,26 @@ var Lightvideo = {
     }
     else {
       Lightbox.videoId = href;
-      Lightvideo.createEmbed(href, "flvvideo", "#ffffff");
+      href = Lightbox.flvPlayer + '?file=' + href;
+      Lightvideo.createEmbed(href, "flvplayer", "#ffffff");
     }
   },
 
   // createEmbed()
   createEmbed: function(href, id, color, variables) {
     var bgcolor = 'bgcolor="' + color + '"';
-    var flashvars = "";
+    var flashvars = '';
     if (variables) {
       flashvars = variables;
     }
 
     Lightbox.modalHTML = '<embed type="application/x-shockwave-flash" ' +
-      'src="' + href + '" ' +
+      'src="' + href + Lightbox.flvPlayerFlashvars + '" ' +
       'id="' + id + '" name="' + id + '" ' + bgcolor + ' ' +
       'quality="high" wmode="transparent" ' + flashvars + ' ' +
       'height="' + Lightbox.modalHeight + '" ' +
-      'width="' + Lightbox.modalWidth + ' ' +
-      '">';
+      'width="' + Lightbox.modalWidth + '" ' +
+      '></embed>';
   },
 
 
diff -Naurp lightbox2/lightbox2.admin.inc lightbox2_patch/lightbox2.admin.inc
--- lightbox2/lightbox2.admin.inc	2008-06-28 10:30:09.000000000 -0400
+++ lightbox2_patch/lightbox2.admin.inc	2008-11-08 10:52:49.000000000 -0500
@@ -153,6 +153,22 @@ function lightbox2_general_settings_form
     '#default_value' => variable_get('lightbox2_enable_video', FALSE),
   );
 
+  // Add textfield for FLV Player path.
+  $form['video_fieldset']['lightbox2_flv_player_path'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Path to FLV Player'),
+    '#description' => t('The path to the FLV player, relative to Drupal root directory. Leave this blank to disable it.'),
+    '#default_value' => variable_get('lightbox2_flv_player_path', ''),
+  );
+
+  // Add textfield for FLV Player's flashvars.
+  $form['video_fieldset']['lightbox2_flv_player_flashvars'] = array(
+    '#type' => 'textfield',
+    '#title' => t('FLV Player flashvars'),
+    '#description' => t('Flashvars for the FLV Player. Make sure you type this in correctly.'),
+    '#default_value' => variable_get('lightbox2_flv_player_flashvars', ''),
+  );
+
   // Add fieldset for page specific lightbox2 settings.
   $form['lightbox2_page_init'] = array(
     '#type' => 'fieldset',
@@ -397,6 +413,15 @@ function lightbox2_general_settings_form
   $resize_speed = $form_state['values']['lightbox2_resize_speed'];
   $fadein_speed = $form_state['values']['lightbox2_fadein_speed'];
   $slide_down_speed = $form_state['values']['lightbox2_slidedown_speed'];
+  $flv_player_path = $form_state['values']['lightbox2_flv_player_path'];
+
+  if ($flv_player_path != '') {
+    if (strpos($flv_player_path, base_path()) === 0)
+      $flv_player_path = substr($flv_player_path, strlen(base_path()));
+
+    if (!file_exists($flv_player_path))
+      form_set_error('lightbox2_flv_player_path', t('FLV player path doesn\'t exist.'));
+  }
 
   if (!_lightbox2_validate_hex_color($overlay_hex_colour)) {
     form_set_error('lightbox2_overlay_color', t('You must enter a properly formed hex value.'));
diff -Naurp lightbox2/lightbox2.install lightbox2_patch/lightbox2.install
--- lightbox2/lightbox2.install	2008-06-28 10:30:09.000000000 -0400
+++ lightbox2_patch/lightbox2.install	2008-11-08 10:47:09.000000000 -0500
@@ -32,6 +32,8 @@ function lightbox2_uninstall() {
   variable_del('lightbox2_disable_zoom');
   variable_del('lightbox2_enable_login');
   variable_del('lightbox2_enable_video');
+  variable_del('lightbox2_flv_player_path');
+  variable_del('lightbox2_flv_player_flashvars');
   variable_del('lightbox2_page_init_action');
   variable_del('lightbox2_page_list');
   variable_del('lightbox2_disable_these_urls');
diff -Naurp lightbox2/lightbox2.module lightbox2_patch/lightbox2.module
--- lightbox2/lightbox2.module	2008-06-29 12:41:55.000000000 -0400
+++ lightbox2_patch/lightbox2.module	2008-11-08 10:51:52.000000000 -0500
@@ -674,7 +674,22 @@ function lightbox2_add_files() {
     'iframe_border' => variable_get('lightbox2_frame_border', 1),
     // Video settings.
     'enable_video' => variable_get('lightbox2_enable_video', FALSE),
+    'flvPlayer' => variable_get('lightbox2_flv_player_path', '/flvplayer.swf'),
+    'flvPlayerFlashvars' => variable_get('lightbox2_flv_player_flashvars', ''),
+
   );
+
+  // If Drupal is installed in a subdirectory, prefix the path with that dir
+  if (!(strpos($js_settings['flvPlayer'], base_path()) === 0)) {
+    if ($js_settings['flvPlayer'] != '')
+      variable_set('lightbox2_flv_player_path', base_path() . $js_settings['flvPlayer']);
+  }
+
+  // Flashvars should begin with an ampersand
+  if (!(strpos($js_settings['flvPlayerFlashvars'], '&') === 0)) {
+    if ($js_settings['flvPlayerFlashvars'] != '')
+      variable_set('lightbox2_flv_player_flashvars', '&' .  $js_settings['flvPlayerFlashvars']);
+  }
   drupal_add_js(array('lightbox2' => $js_settings), 'setting');
 
 
