aboutsummaryrefslogtreecommitdiff
path: root/player.php
diff options
context:
space:
mode:
authorMaZderMind2014-10-02 16:19:15 +0200
committerMaZderMind2014-10-02 16:19:15 +0200
commitb5f7004080f2ddf89e672aaa8ddb197703f8cf74 (patch)
tree7cb536a6c6d5a5d05c9698942f01c029aa3785de /player.php
parent7d50beb6ddce3f99de2c015d00c9528ce52577a1 (diff)
player setup
Diffstat (limited to '')
-rw-r--r--player.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/player.php b/player.php
index 6afdb5f..f41c0a2 100644
--- a/player.php
+++ b/player.php
@@ -17,19 +17,19 @@ switch($format) {
$type = 'slides';
break;
- case 'hq':
+ case 'hd':
$type = 'video';
$width = 1920;
$height = 1080;
break;
- case 'hd':
+ case 'hq':
$type = 'video';
$width = 1024;
$height = 576;
break;
- case 'ld':
+ case 'lq':
$type = 'video';
$width = 640;
$height = 360;
@@ -38,9 +38,12 @@ switch($format) {
$tpl = new PhpTemplate('template/page.phtml');
echo $tpl->render(array(
- 'page' => $type,
+ 'page' => 'player',
+ 'playertype' => $type,
+
'baseurl' => baseurl(),
- 'title' => 'Rooms',
+ 'title' => $GLOBALS['CONFIG']['ROOMS'][$room],
+ 'subtitle' => $GLOBALS['CONFIG']['FORMATS'][$format],
'room' => $room,
'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room],