aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2014-12-12 00:58:36 +0100
committerMaZderMind2014-12-12 14:34:22 +0100
commit41d1390c10f74ffd856d7daadd60d7a6d0414595 (patch)
treef77d86c709b9c68f108f03614b8d3cd7a8297ed9 /template
parent99cf0bc71e19a2f05357a891cbc8bc1fd14da483 (diff)
subtitles playback
Diffstat (limited to 'template')
-rw-r--r--template/assemblies/player/video.phtml1
-rw-r--r--template/room.phtml2
2 files changed, 2 insertions, 1 deletions
diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml
index 44180af..5456b0c 100644
--- a/template/assemblies/player/video.phtml
+++ b/template/assemblies/player/video.phtml
@@ -5,6 +5,7 @@
width="<?=h($width)?>"
height="<?=h($height)?>"
style="width: 100%; height: 100%;"
+ class="<?=h($miniroom ? 'nosubs' : 'subs')?>"
>
<? if($format == 'sd'): ?>
<source
diff --git a/template/room.phtml b/template/room.phtml
index e496050..18f1407 100644
--- a/template/room.phtml
+++ b/template/room.phtml
@@ -1,4 +1,4 @@
-<div class="container-fluid room <?=h($type)?> <?=h($format)?> <?=h($language)?>">
+<div class="container-fluid room <?=h($type)?> <?=h($format)?> <?=h($language)?>" data-room="<?=h($GLOBALS['CONFIG']['ROOMS'][$room])?>">
<h1><?=h($title)?></h1>
<ul class="nav nav-tabs nav-justified">