diff options
author | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2006-08-21 10:32:23 +0000 |
---|---|---|
committer | Fabio Varesano <fax8@13637.no-reply.drupal.org> | 2006-08-21 10:32:23 +0000 |
commit | ae08dc76b3b43c1d83ff40f2e480ff7f52e2d4f4 (patch) | |
tree | c9e9e1d17deb34442d23a3bf3f0dcafb97820191 | |
parent | ff6aced626a38128ff381fecf36f402d911f8aa5 (diff) | |
download | video-ae08dc76b3b43c1d83ff40f2e480ff7f52e2d4f4.tar.gz video-ae08dc76b3b43c1d83ff40f2e480ff7f52e2d4f4.tar.bz2 |
Solved a little bug which let flowplayer not loaded if clean url is enabled.
-rw-r--r-- | video.module | 4 |
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" |