diff options
Diffstat (limited to 'template/assemblies')
-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> |