From ae08dc76b3b43c1d83ff40f2e480ff7f52e2d4f4 Mon Sep 17 00:00:00 2001
From: Fabio Varesano <fax8@13637.no-reply.drupal.org>
Date: Mon, 21 Aug 2006 10:32:23 +0000
Subject: Solved a little bug which let flowplayer not loaded if clean url is
 enabled.

---
 video.module | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/video.module b/video.module
index ff65486..f1b6f17 100644
--- a/video.module
+++ b/video.module
@@ -831,7 +831,7 @@ function theme_video_play_flash($node) {
   // this will be executed by not Internet Explorer browsers
   $output = '<!--[if !IE]> <-->
 <object type="application/x-shockwave-flash" width="'. $node->videox .'" height="'. $node->videoy .'"
-data="'. check_plain($loader_location) .'">
+data="'. url() . check_plain($loader_location) .'">
 <!--> <![endif]-->' . "\n";
 
   // this will be executed by Internet Explorer
@@ -842,7 +842,7 @@ codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
 <![endif]-->' . "\n";
 
   // params will be passed to both IE or not IE browsers
-  $output .= '<param name="movie" value="' . check_plain($loader_location) . '" />
+  $output .= '<param name="movie" value="' . url() . check_plain($loader_location) . '" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="quality" value="high" />
                <param name="FlashVars" value="baseURL='. $base_url .'&videoFile='. $file .'&autoPlay=true&bufferLength=5" />' . "\n"
-- 
cgit v1.2.3