aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video.module4
1 files 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"