From 964d84132d8699db78cd36ac5c54f252315ef1d0 Mon Sep 17 00:00:00 2001 From: Fabio Varesano Date: Wed, 21 Jun 2006 18:03:45 +0000 Subject: Patch #70049 by agilpwc (http://drupal.org/user/49395) .flv base url incorrect Solved and incorrect url passed to flowplayer if file is .flv --- video.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/video.module b/video.module index bb9d86c..b69b20d 100644 --- a/video.module +++ b/video.module @@ -807,6 +807,7 @@ function theme_video_play_flash($node) { $url = _video_get_fileurl($node->vidfile); $file = basename($url); + $base_url = substr($url, 0, strrpos($url, '/')); // this will be executed by not Internet Explorer browsers $output = ' @@ -825,7 +826,7 @@ codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve $output .= ' - ' . "\n" + ' . "\n" . _video_get_parameters($node) . '

'. t('Your browser is not able to display this multimedia content.') .'

'; -- cgit v1.2.3