aboutsummaryrefslogtreecommitdiff
path: root/view/embed.php
blob: eb7caee8d44a1651b715beaf81477a7b8e86f522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

$room = $conference->getRoom($_GET['room']);
if(!$room->hasEmbed())
	throw new NotFoundException('Embedding is not enabled in this room');

$stream = $room->selectStream(
	$_GET['selection'], $_GET['language']);

echo $tpl->render(array(
	'page' => 'embed',
	'naked' => true, // no header/footer

	'title' => $stream->getDisplay(),
	'room' => $room,
	'stream' => $stream,

	'autoplay' => @$_GET['autoplay'],
));