fix: move duplicated stream information to live stream panel
This commit is contained in:
parent
ffd178c555
commit
62cad7b2ad
|
|
@ -16,6 +16,10 @@ body .container{
|
|||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body strong{
|
||||
letter-spacing: 0.08rem;
|
||||
}
|
||||
|
||||
body h1{
|
||||
color: #4488ff;
|
||||
text-align: center;
|
||||
|
|
@ -180,11 +184,17 @@ body .player-section .live-stream{
|
|||
|
||||
|
||||
|
||||
body .live-stream p,
|
||||
body .live-stream label{
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
body .live-stream code{
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
body .live-stream .live-stream-quality label,
|
||||
body .live-stream .live-stream-quality select{
|
||||
margin: 10px 0;
|
||||
body .live-stream .live-stream-quality{
|
||||
display: flex;
|
||||
}
|
||||
|
||||
body .live-stream .live-stream-quality label{
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@
|
|||
:max-width "1200px"
|
||||
:margin "0 auto")
|
||||
|
||||
(strong :letter-spacing "0.08rem")
|
||||
|
||||
(h1
|
||||
:color "#4488ff"
|
||||
:text-align center
|
||||
|
|
@ -153,9 +155,13 @@
|
|||
:overflow auto) )
|
||||
|
||||
(.live-stream
|
||||
((:or p label) :font-size "1.5rem")
|
||||
|
||||
(code :font-size "1rem")
|
||||
|
||||
(.live-stream-quality
|
||||
|
||||
((:or label select) :margin "10px 0")
|
||||
:display "flex"
|
||||
|
||||
(label
|
||||
:margin-right "10px")
|
||||
|
|
|
|||
|
|
@ -25,20 +25,13 @@
|
|||
</header>
|
||||
|
||||
<main>
|
||||
<div class="status">
|
||||
<h2>Station Status</h2>
|
||||
<p data-text="status-message">🟢 LIVE - Broadcasting asteroid music for hackers</p>
|
||||
<p>Current listeners: <span data-text="listeners">0</span></p>
|
||||
<p>Stream quality: <span data-text="stream-quality">AAC 96kbps Stereo</span></p>
|
||||
</div>
|
||||
|
||||
<div class="live-stream">
|
||||
<h2 style="color: #00ff00;">🟢 LIVE STREAM</h2>
|
||||
<p><em>The live stream player is now in the persistent bar at the bottom of the page.</em></p>
|
||||
<input type="hidden" id="stream-base-url" lquery="(val stream-base-url)">
|
||||
<p><strong>Stream URL:</strong> <code id="stream-url" lquery="(text default-stream-url)"></code></p>
|
||||
<p><strong>Format:</strong> <span id="stream-format" lquery="(text default-stream-encoding-desc)"></span></p>
|
||||
<p><strong>Status:</strong> <span id="stream-status" style="color: #00ff00;">● BROADCASTING</span></p>
|
||||
<p><strong>Stream Quality:</strong> <span id="stream-format" lquery="(text default-stream-encoding-desc)"></span></p>
|
||||
<p><strong>BROADCASTING:</strong> <span id="stream-status" style="">Asteroid music for Hackers on The Station at the End of Time.</span></p>
|
||||
<p><em>The live stream player is now in the persistent bar at the bottom of the page.</em></p>
|
||||
</div>
|
||||
|
||||
<div id="now-playing" class="now-playing"></div>
|
||||
|
|
|
|||
|
|
@ -25,24 +25,9 @@
|
|||
</header>
|
||||
|
||||
<main>
|
||||
<div class="status">
|
||||
<h2>Station Status</h2>
|
||||
<p data-text="status-message">🟢 LIVE - Broadcasting asteroid music for hackers</p>
|
||||
<p>Current listeners: <span data-text="listeners">0</span></p>
|
||||
<p>Stream quality: <span data-text="stream-quality">AAC 96kbps Stereo</span></p>
|
||||
</div>
|
||||
|
||||
<div class="live-stream">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
|
||||
<h2 style="color: #00ff00; margin: 0;">🟢 LIVE STREAM</h2>
|
||||
<div style="display: flex; gap: 10px;">
|
||||
<button id="popout-btn" class="btn btn-info" onclick="openPopoutPlayer()" style="font-size: 0.9em;">
|
||||
🗗 Pop Out Player
|
||||
</button>
|
||||
<button id="frameset-btn" class="btn btn-secondary" onclick="enableFramesetMode()" style="font-size: 0.9em;">
|
||||
🖼️ Enable Persistent Player
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Stream Quality Selector -->
|
||||
|
|
@ -57,8 +42,17 @@
|
|||
|
||||
<input type="hidden" id="stream-base-url" lquery="(val stream-base-url)">
|
||||
<p><strong>Stream URL:</strong> <code id="stream-url" lquery="(text default-stream-url)"></code></p>
|
||||
<p><strong>Format:</strong> <span id="stream-format" lquery="(text default-stream-encoding-desc)"></span></p>
|
||||
<p><strong>Status:</strong> <span id="stream-status" style="color: #00ff00;">● BROADCASTING</span></p>
|
||||
<p><strong>Stream Quality:</strong> <span id="stream-format" lquery="(text default-stream-encoding-desc)"></span></p>
|
||||
<p><strong>BROADCASTING:</strong> <span id="stream-status" style="">Asteroid music for Hackers on The Station at the End of Time.</span></p>
|
||||
|
||||
<div style="display: flex; gap: 10px; justify-content: end; margin-bottom: 20px;">
|
||||
<button id="popout-btn" class="btn btn-info" onclick="openPopoutPlayer()" style="font-size: 0.9em;">
|
||||
🗗 Pop Out Player
|
||||
</button>
|
||||
<button id="frameset-btn" class="btn btn-secondary" onclick="enableFramesetMode()" style="font-size: 0.9em;">
|
||||
🖼️ Enable Persistent Player
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<audio id="live-audio" controls style="width: 100%; margin: 10px 0;">
|
||||
<source id="audio-source" lquery="(attr :src default-stream-url :type default-stream-encoding)">
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<audio id="live-stream-audio" controls style="width: 100%; margin: 10px 0;">
|
||||
<audio id="live-stream-audio" controls style="width: 100%; margin-top: 20px;">
|
||||
<source id="live-stream-source" lquery="(attr :src default-stream-url)" type="audio/aac">
|
||||
Your browser does not support the audio element.
|
||||
</audio>
|
||||
|
|
|
|||
Loading…
Reference in New Issue