--- shadowbox.module	2008-11-14 11:02:13.000000000 +1100
+++ shadowboxNEW.module	2009-01-07 20:02:54.000000000 +1100
@@ -456,7 +456,7 @@ function shadowbox_global_settings_valid
   $initial_width = $form_state['values']['shadowbox_initial_width'];
   $counter_limit = $form_state['values']['shadowbox_counter_limit'];
 
-  if (!preg_match('!^([a-z0-9_\-]+/)*[a-z0-9_\-]+\.swf$!i', $flv_player)) {
+  if (!preg_match('!^([a-z0-9_\-\.]+/)*[a-z0-9_\-]+\.swf$!i', $flv_player)) {
     form_set_error('shadowbox_flv_player', t('You must enter a valid path to an SWF Flash Player in the form <code>flvplayer.swf</code>.'));
   }
   elseif (!file_exists($flv_player)) {
