1
0

Forgot to add preload="none", controls and playsinline to an audio tag.

This commit is contained in:
Alexander Andreev 2024-05-10 04:37:25 +04:00
parent c49c5b0112
commit 23f53609ae
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -61,7 +61,7 @@ templ Index(curSong *radio.Song, sl []radio.Song, slLen int64, lstnrs *radio.Lis
<button id="radio-play" />
<input id="radio-volume" type="range" min="0" max="100" orient="vertical" />
</div>
<audio>
<audio preload="none" controls playsinline>
<source src="/live/stream.ogg" type="audio/ogg" />
Your browser doesn't support an audio element, it's sad... But you always can take the <a href="/playlist">playlist</a>!
</audio>