From 663a234bb19cd9db56072af3b4c866150f05f0db Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sat, 28 Feb 2015 19:12:27 +0100 Subject: room selection handling rewrite --- template/assemblies/player/video.phtml | 43 ++++++++++++++++++---------------- template/room.phtml | 16 ++++++------- 2 files changed, 31 insertions(+), 28 deletions(-) (limited to 'template') diff --git a/template/assemblies/player/video.phtml b/template/assemblies/player/video.phtml index 1508aba..0861cf8 100644 --- a/template/assemblies/player/video.phtml +++ b/template/assemblies/player/video.phtml @@ -5,27 +5,30 @@ width="=h($width)?>" height="=h($height)?>" style="width: 100%; height: 100%;" - class="=h($miniroom ? 'nosubs' : 'subs')?>" > - if(!$translated): ?> - + if(in_array("webm-$selection", $formats)): ?> + + endif ?> + if(in_array("hls-$selection", $formats)): ?> + + endif ?> + if(in_array("rtmp-$selection", $formats)): ?> + endif ?> - - diff --git a/template/room.phtml b/template/room.phtml index e337eda..92f69b2 100644 --- a/template/room.phtml +++ b/template/room.phtml @@ -1,14 +1,14 @@ -