From 797aef53344791c484e5568a1a4a639301ed262f Mon Sep 17 00:00:00 2001 From: Heshan Date: Fri, 18 Mar 2011 14:27:47 +0530 Subject: Flowplayer support with Flash play --- includes/video_helper.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/video_helper.inc b/includes/video_helper.inc index 63d6f61..9f3ae2e 100644 --- a/includes/video_helper.inc +++ b/includes/video_helper.inc @@ -49,7 +49,7 @@ class video_helper { $video->player_height = trim($player_dimensions[1]); // load thumbnail object $video->thumbnail = $this->thumbnail_object($variables); -// $video->formatter = $variables['#formatter']; + $video->formatter = $variables['instance']['display']['default']['type']; $video->autoplay = variable_get('video_autoplay', FALSE); $video->autobuffering = variable_get('video_autobuffering', TRUE); $video->theora_player = variable_get('video_ogg_player', 'http://theora.org/cortado.jar'); -- cgit v1.2.3