diff options
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/player/audio.phtml | 6 | ||||
-rw-r--r-- | template/assemblies/switcher/party.phtml | 12 |
2 files changed, 15 insertions, 3 deletions
diff --git a/template/assemblies/player/audio.phtml b/template/assemblies/player/audio.phtml index 690a0cd..3c46085 100644 --- a/template/assemblies/player/audio.phtml +++ b/template/assemblies/player/audio.phtml @@ -4,15 +4,15 @@ style="width: 960px;" > <source - src="<?=h(link_stream('audio', $room, 'mp3', $translated))?>" + src="<?=h(link_stream('audio', $room, 'mp3', @$translated))?>" type="audio/mp3" /> <source - src="<?=h(link_stream('audio', $room, 'ogg', $translated))?>" + src="<?=h(link_stream('audio', $room, 'ogg', @$translated))?>" type="audio/ogg" /> <source - src="<?=h(link_stream('audio', $room, 'opus', $translated))?>" + src="<?=h(link_stream('audio', $room, 'opus', @$translated))?>" type="audio/opus" /> </audio> diff --git a/template/assemblies/switcher/party.phtml b/template/assemblies/switcher/party.phtml new file mode 100644 index 0000000..f7e7bd7 --- /dev/null +++ b/template/assemblies/switcher/party.phtml @@ -0,0 +1,12 @@ +<h3>Directlinks</h3> +<ul> + <? foreach(array('mp3', 'ogg', 'opus') as $iter): ?> + <li> + <span class="label filetype"><?=h(strtoupper($iter))?></span> + <a href="<?=h(link_stream('audio', $room, $iter))?>"> + <span class="fa fa-music"></span> + livemusic + </a> + </li> + <? endforeach ?> +</ul> |