aboutsummaryrefslogtreecommitdiff
path: root/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object')
-rw-r--r--views/default/object/videolist_item.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/default/object/videolist_item.php b/views/default/object/videolist_item.php
index bda333a2d..6ed284a43 100644
--- a/views/default/object/videolist_item.php
+++ b/views/default/object/videolist_item.php
@@ -60,11 +60,12 @@ if (elgg_in_context('widgets')) {
if ($full && !elgg_in_context('gallery')) {
- $content= elgg_view("videolist/watch/{$entity->videotype}", array(
- 'video_id' => $entity->video_id,
+ $content = elgg_view("videolist/watch/{$entity->videotype}", array(
+ 'entity' => $entity,
'width' => 600,
'height' => 400,
));
+ $content = "<div class=\"videolist-watch\">$content</div>";
$params = array(
'entity' => $entity,