0) $types[] = 'video'; if(count(array_intersect(array('audio-mp3', 'audio-opus'), $formats)) > 0) $types[] = 'audio'; if(count(array_intersect(array('slides'), $formats)) > 0) $types[] = 'slides'; echo $tpl->render(array( 'page' => 'room', 'title' => get("ROOMS.$room.DISPLAY").' – '.$title, 'room' => $room, 'program' => program(), 'type' => $type, 'types' => $types, 'width' => @$width, 'height' => @$height, 'language' => $language, 'translated' => ($language == 'translated'), 'selection' => $selection, 'hlsformat' => ($selection == 'hd' ? 'auto' : $selection), // miniroom = no translation, no slides, no irc, no program // -> sendezentrum, workshops 'miniroom' => in_array($room, array('sendezentrum')), ));