blob: b5bc49b418d721a76f3b4c78abb4db985a9c00b9 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | <?php
$room = new Room($_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,
));
 |