aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-03 16:56:06 +0000
committerFabio Varesano <fax8@13637.no-reply.drupal.org>2007-01-03 16:56:06 +0000
commit41752d74476a84bb3277b9cb9deef355cc2d0267 (patch)
tree85dfb9e7575a4e8cfd4332abc03a865f0ac03f8d
parent333f8444587d061d96512206e3c69d2ab4da0a16 (diff)
downloadvideo-41752d74476a84bb3277b9cb9deef355cc2d0267.tar.gz
video-41752d74476a84bb3277b9cb9deef355cc2d0267.tar.bz2
Added support for flowplayer version 1.10. Older versions of flowplayer will not work anymore.
-rw-r--r--video.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/video.module b/video.module
index b2bbbb8..1f1f811 100644
--- a/video.module
+++ b/video.module
@@ -840,7 +840,7 @@ function video_play() {
* string of content to display
*/
function theme_video_play_flash($node) {
- $loader_location = variable_get('video_flvplayerloader', 'Player.swf');
+ $loader_location = variable_get('video_flvplayerloader', 'FlowPlayer.swf');
$url = _video_get_fileurl($node->vidfile);
$file = basename($url);
@@ -863,7 +863,7 @@ codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
$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"
+ <param name="flashvars" value="config={baseURL:\''. $base_url .'\',videoFile:\''. $file .'\',autoPlay:true,bufferLength:5}" />' . "\n"
. _video_get_parameters($node) .
'<p>'. t('Your browser is not able to display this multimedia content.') .'</p>
</object>';