party style & player

This commit is contained in:
MaZderMind 2014-11-09 22:32:09 +01:00
parent 0575b7d60e
commit ffbff5eb16
6 changed files with 30 additions and 6 deletions

View file

@ -5556,6 +5556,8 @@ a.inverted {
padding: 32px 0; }
.room.audio .player-wrap {
padding: 64px 32px; }
.room.party #switcher ul li {
min-width: 32.5%; }
.room.slides .player-wrap .slide-audio {
padding: 32px 32px; }
.room .click-to-irc {

File diff suppressed because one or more lines are too long

View file

@ -349,6 +349,10 @@ a.inverted {
padding: 64px 32px;
}
&.party #switcher ul li {
min-width: 33%;
}
&.slides .player-wrap .slide-audio {
padding: 32px 32px;
}

View file

@ -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>

View file

@ -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>

View file

@ -1,7 +1,13 @@
<div class="container-fluid rooms">
<div class="container-fluid room party audio">
<h1><?=h($title)?></h1>
<div class="player-wrap">
<? include("assemblies/player/audio.phtml") ?>
</div>
<div class="tab-content">
<? include("players/audio.phtml") ?>
<div class="tab-pane active" id="switcher">
<? include("assemblies/switcher/party.phtml") ?>
</div>
</div>
</div>