mirror of
https://github.com/voc/streaming-website
synced 2024-11-15 00:47:14 +00:00
19 lines
419 B
PHP
19 lines
419 B
PHP
<?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'],
|
|
));
|