--- video/includes/common.inc	2008-03-05 17:23:38.000000000 +0100
+++ video/includes/common-new.inc	2009-03-27 22:52:54.000000000 +0100
@@ -86,14 +86,15 @@ codebase="http://download.macromedia.com
 <![endif]-->' . "\n";
 
   // params will be passed to both IE or not IE browsers
+  $config = sprintf("config={'playerId':'player','clip':{'url':'%s'},'playlist':[{'url':'%s'}]}", $base_url . '/' . $file, $base_url . '/' . $file);
   $output .= '<param name="movie" value="' . url() . check_plain($loader_location) . '" />
                <param name="wmode" value="transparent" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="quality" value="high" />
-               <param name="flashvars" value="config={baseURL:\''. $base_url .'\',videoFile:\''. $file .'\',autoPlay:true,bufferLength:5}" />' . "\n"
+               <param name="flashvars" value="' . $config . '" />'
   . _video_get_parameters($node) .
   '<p>'. t('Your browser is not able to display this multimedia content.') .'</p>
-</object>';
+  </object>';
 
   $output = theme('video_format_play', $output, t('http://www.macromedia.com/go/getflashplayer'),
                                       t('Link to Macromedia Flash Player Download Page'),
