diff options
author | Heshan <heshan@heidisoft.com> | 2011-07-03 10:31:37 +0530 |
---|---|---|
committer | Heshan <heshan@heidisoft.com> | 2011-07-03 10:31:37 +0530 |
commit | 89eeb0d9e6f0493c9a1bc50b072a8714ec6870e4 (patch) | |
tree | 96425e763bf47d23e1224ab3aeedcdfbf638ae87 | |
parent | 2929a463991a15192cd78b1242b401c2c9643613 (diff) | |
download | video-89eeb0d9e6f0493c9a1bc50b072a8714ec6870e4.tar.gz video-89eeb0d9e6f0493c9a1bc50b072a8714ec6870e4.tar.bz2 |
#1190246 by crispymix VideoJS being passed incorrect player width/height
-rw-r--r-- | video.theme.inc | 4 |
1 files 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; } |