diff options
author | MaZderMind | 2014-10-19 20:47:36 +0200 |
---|---|---|
committer | MaZderMind | 2014-10-19 20:47:36 +0200 |
commit | 48d947b34e87a26ba8bdbc55861bb6cd451a3ccc (patch) | |
tree | 4a88ab7634b853a2c700e11d9e7ee1a7825bc649 /template/assemblies/switcher | |
parent | 51a8f9ebef4294513c5fde5d2bec8d2b34a33f49 (diff) |
audio player page
Diffstat (limited to 'template/assemblies/switcher')
-rw-r--r-- | template/assemblies/switcher/audio.phtml | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml index 16b3a14..754c4d1 100644 --- a/template/assemblies/switcher/audio.phtml +++ b/template/assemblies/switcher/audio.phtml @@ -1,7 +1,7 @@ -<h3>Audio</h3> +<h3>Formate</h3> <ul> <li> - <span class="label filetype">MP3</span> + <span class="label filetype">AUDIO</span> <a href="<?=h(link_player($room, 'audio'))?>"> <span class="fa fa-flag-o"></span> native @@ -12,3 +12,22 @@ </a> </li> </ul> + +<hr /> + +<h3>Direktlinks</h3> +<ul> + <? foreach(array('mp3', 'ogg', 'opus') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_stream('icecast', $room, $iter))?>"> + <span class="fa fa-flag-o"></span> + native + </a> + <a href="<?=h(link_stream('icecast', $room, $iter, true))?>"> + <span class="fa fa-flag"></span> + translated + </a> + </li> + <? endforeach ?> +</ul> |