Edit view */ elgg_load_library('elgg:videolist'); // Make sure we're logged in (send us to the front page if not) gatekeeper(); $page_owner = page_owner_entity(); $container_guid = $vars['entity']->container_guid; $owner = get_entity($container_guid); if($owner instanceof ElggGroup){ $options = group_access_options($owner); }else{ $options = ''; } ?>