aboutsummaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorHeshan <heshan@heidisoft.com>2011-03-18 14:27:47 +0530
committerHeshan <heshan@heidisoft.com>2011-03-18 14:27:47 +0530
commit797aef53344791c484e5568a1a4a639301ed262f (patch)
treebf816245bb84d26b82e527b3027b0ca6d5ac8122 /includes
parent69927fc15c744bd3602fe7d404af6a80130a1ce9 (diff)
downloadvideo-797aef53344791c484e5568a1a4a639301ed262f.tar.gz
video-797aef53344791c484e5568a1a4a639301ed262f.tar.bz2
Flowplayer support with Flash play
Diffstat (limited to 'includes')
-rw-r--r--includes/video_helper.inc2
1 files changed, 1 insertions, 1 deletions
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');