From 89eeb0d9e6f0493c9a1bc50b072a8714ec6870e4 Mon Sep 17 00:00:00 2001 From: Heshan Date: Sun, 3 Jul 2011 10:31:37 +0530 Subject: #1190246 by crispymix VideoJS being passed incorrect player width/height --- video.theme.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/video.theme.inc b/video.theme.inc index 065845a..b70e065 100644 --- a/video.theme.inc +++ b/video.theme.inc @@ -235,8 +235,8 @@ function theme_video_html5($variables) { $items = _video_object_to_array($video->files); $items +=array('thumbnail' => (array) $video->thumbnail); $attributes = array(); - $attributes['width'] = $video->width; - $attributes['height'] = $video->height; + $attributes['width'] = $video->player_width;; + $attributes['height'] = $video->player_height; return theme('videojs', array('items' => $items, 'player_id' => 'video-' . $video->fid, 'attributes' => $attributes)); break; } -- cgit v1.2.3