aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--video.theme.inc4
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;
}