mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
party style & player
This commit is contained in:
parent
0575b7d60e
commit
ffbff5eb16
6 changed files with 30 additions and 6 deletions
|
@ -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
|
@ -349,6 +349,10 @@ a.inverted {
|
|||
padding: 64px 32px;
|
||||
}
|
||||
|
||||
&.party #switcher ul li {
|
||||
min-width: 33%;
|
||||
}
|
||||
|
||||
&.slides .player-wrap .slide-audio {
|
||||
padding: 32px 32px;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
12
template/assemblies/switcher/party.phtml
Normal file
12
template/assemblies/switcher/party.phtml
Normal 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>
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue