diff options
author | Sem <sembrestels@riseup.net> | 2012-04-18 09:07:37 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-04-18 09:07:37 +0200 |
commit | b6f8691bdc26986e031a3b2d5a63db4be67dea43 (patch) | |
tree | acdd7710e5669e5effa58359fc7032079cc7cf54 /views/default/object/videolist_item.php | |
parent | a613b944015fd82f97a15392c0de0e7df104706d (diff) | |
download | elgg-b6f8691bdc26986e031a3b2d5a63db4be67dea43.tar.gz elgg-b6f8691bdc26986e031a3b2d5a63db4be67dea43.tar.bz2 |
Simplified video dimensions take.
Diffstat (limited to 'views/default/object/videolist_item.php')
-rw-r--r-- | views/default/object/videolist_item.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php index 5e0db00ce..a1943216d 100644 --- a/views/default/object/videolist_item.php +++ b/views/default/object/videolist_item.php @@ -61,11 +61,11 @@ if (elgg_in_context('widgets')) { if ($full && !elgg_in_context('gallery')) { - $dimensions = videolist_get_video_dimensions($entity); + $dimensions = elgg_get_config('videolist_dimensions'); $content = elgg_view("videolist/watch/{$entity->videotype}", array( 'entity' => $entity, - 'width' => $dimensions['width'], - 'height' => $dimensions['height'], + 'width' => (int) $dimensions['width'], + 'height' => (int) $dimensions['height'], )); $content = "<div class=\"videolist-watch\">$content</div>"; |