diff options
author | MaZderMind | 2014-10-19 13:44:34 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 13:44:34 +0200 |
commit | ce98e5359797c26be23c5db9a786fbd1e58acc7d (patch) | |
tree | ccad65d7be7cc4224fe7415b015bd294528d7807 /template/assemblies/switcher | |
parent | e94c9bcce4dffc0bb1bbf64be9dac4ec4925b554 (diff) |
direct links to video formats
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/video.phtml | 23 |
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 ?> |