aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--template/assemblies/switcher/video.phtml23
1 files changed, 22 insertions, 1 deletions
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml
index ccfbaef..6ad26c8 100644
--- a/template/assemblies/switcher/video.phtml
+++ b/template/assemblies/switcher/video.phtml
@@ -1,4 +1,4 @@
-<h3>Video</h3>
+<h3>Formate</h3>
<ul>
<? foreach(array('hd', 'hq', 'lq') as $iter): ?>
<li>
@@ -14,3 +14,24 @@
</li>
<? endforeach ?>
</ul>
+
+<hr />
+
+<? foreach(array('rtmp', 'hls') as $protocol): ?>
+ <h3>Direktlinks (<?=h(strtoupper($protocol))?>)</h3>
+ <ul>
+ <? foreach(array('hd', 'hq', 'lq') as $iter): ?>
+ <li>
+ <span class="label filetype"><?=h(strtoupper($iter))?></span>
+ <a href="<?=h(link_stream($protocol, $room, $iter))?>">
+ <span class="fa fa-flag-o"></span>
+ native
+ </a>
+ <a href="<?=h(link_stream($protocol, $room, $iter, true))?>">
+ <span class="fa fa-flag"></span>
+ translated
+ </a>
+ </li>
+ <? endforeach ?>
+ </ul>
+<? endforeach ?>