mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
slide-stream switcher
This commit is contained in:
parent
5fcd49ade5
commit
7cd0564c43
1 changed files with 18 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue