diff options
author | MaZderMind | 2014-10-02 16:19:15 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-02 16:19:15 +0200 |
commit | b5f7004080f2ddf89e672aaa8ddb197703f8cf74 (patch) | |
tree | 7cb536a6c6d5a5d05c9698942f01c029aa3785de /player.php | |
parent | 7d50beb6ddce3f99de2c015d00c9528ce52577a1 (diff) |
player setup
Diffstat (limited to '')
-rw-r--r-- | player.php | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -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], |