aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/audio.phtml
blob: fb12e6059e2fe4115dd2df2a2dfe5cf35af970c8 (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
<h3>Formats</h3>
<ul>
	<li>
		<span class="label filetype">AUDIO</span>
		<a href="<?=h(link_player($room, 'audio'))?>">
			<span class="fa fa-flag-o"></span>
			native
		</a>
		<a href="<?=h(link_player($room, 'audio', true))?>">
			<span class="fa fa-flag"></span>
			translated
		</a>
	</li>
</ul>

<hr />

<h3>Directlinks</h3>
<ul>
	<? foreach(array('mp3', 'opus') as $iter): ?>
		<li>
			<span class="label filetype" title="<?=h(format_text($iter))?>"><?=h(strtoupper($iter))?></span>
			<a href="<?=h(link_stream('audio', $room, $iter))?>">
				<span class="fa fa-flag-o"></span>
				native
			</a>
			<a href="<?=h(link_stream('audio', $room, $iter, true))?>">
				<span class="fa fa-flag"></span>
				translated
			</a>
		</li>
	<? endforeach ?>
</ul>