aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/slides.phtml
blob: 401b4e7cad7f5306ad21469c117d9b31820a096d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<h3>Slides</h3>
<ul>
	<li>
		<span class="label filetype">SLIDES</span>
		<a href="<?=h(link_player($room, 'slides'))?>">
			<span class="fa fa-flag-o"></span>
			native
		</a>
		<a href="<?=h(link_player($room, 'slides', true))?>">
			<span class="fa fa-flag"></span>
			translated
		</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>