aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/video.phtml
blob: 6ad26c86989e719133233d31266bb5d53b739b33 (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
32
33
34
35
36
37
<h3>Formate</h3>
<ul>
	<? foreach(array('hd', 'hq', 'lq') as $iter): ?>
		<li>
			<span class="label filetype"><?=h(strtoupper($iter))?></span>
			<a href="<?=h(link_player($room, $iter))?>">
				<span class="fa fa-flag-o"></span>
				native
			</a>
			<a href="<?=h(link_player($room, $iter, true))?>">
				<span class="fa fa-flag"></span>
				translated
			</a>
		</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 ?>