diff options
author | MaZderMind | 2014-12-13 01:17:02 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-13 01:17:02 +0100 |
commit | 7cd0564c4336b578c78c55eb9a3d6fe7d4d12d02 (patch) | |
tree | cbba28bec2758b6fe28e5a33db36f7c1e71b708a | |
parent | 5fcd49ade5b4b1d7dc7ea224be6c658cce13bbf4 (diff) |
slide-stream switcher
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/slides.phtml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml index 5445a0a..401b4e7 100644 --- a/template/assemblies/switcher/slides.phtml +++ b/template/assemblies/switcher/slides.phtml @@ -1,7 +1,7 @@ <h3>Slides</h3> <ul> <li> - <span class="label filetype">JPG & MP3</span> + <span class="label filetype">SLIDES</span> <a href="<?=h(link_player($room, 'slides'))?>"> <span class="fa fa-flag-o"></span> native @@ -12,3 +12,20 @@ </a> </li> </ul> + +<h3>Directlinks</h3> +<ul> + <? foreach(array('rtmp', 'hls') as $protocol): ?> + <li> + <span class="label filetype" title="<?=h(format_text($iter))?>"><?=h(strtoupper($protocol))?></span> + <a href="<?=h(link_stream($protocol, $room, 'slides'))?>"> + <span class="fa fa-flag-o"></span> + native + </a> + <a href="<?=h(link_stream($protocol, $room, 'slides', true))?>"> + <span class="fa fa-flag"></span> + translated + </a> + </li> + <? endforeach ?> +</ul> |