From a47b9e621c7f1287058064ba9f0fd33340b17f86 Mon Sep 17 00:00:00 2001 From: Heshan Wanigasooriya Date: Wed, 17 Jun 2009 02:26:11 +0000 Subject: updating common.inc, adding FlowPlayer 3.1 and later support --- includes/common.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/common.inc b/includes/common.inc index 608b6ee..18b8925 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -88,17 +88,19 @@ codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve ' . "\n"; // params will be passed to both IE or not IE browsers + $config = sprintf("config={'playerId':'player','clip':{'url':'%s'},'playlist':[{'url':'%s'}]}", $base_url . '/' . $file, $base_url . '/' . $file); $output .= ' + - ' . "\n" + ' . _video_get_parameters($node) . '

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

'; - $output = theme('video_format_play', $output, t('http://www.macromedia.com/go/getflashplayer'), - t('Link to Macromedia Flash Player Download Page'), + $output = theme('video_format_play', $output, t('http://get.adobe.com/flashplayer/'), + t('Link to Adobe Flash Player Download Page'), t('Download latest Flash Player')); return $output; } -- cgit v1.2.3