Added custom player that is diplayed if JS is enabled.
This commit is contained in:
parent
949e96d195
commit
4bdbc28f43
@ -36,9 +36,15 @@ html(lang='en')
|
|||||||
a(href='http://radio.arav.i2p/live/stream.ogg') direct link (I2P)
|
a(href='http://radio.arav.i2p/live/stream.ogg') direct link (I2P)
|
||||||
a(href="https://dir.xiph.org/search?q=arav's+dwelling") Xiph
|
a(href="https://dir.xiph.org/search?q=arav's+dwelling") Xiph
|
||||||
| OGG 128 Kb/s
|
| OGG 128 Kb/s
|
||||||
audio(preload='none' controls='')
|
div#radio
|
||||||
source(src='/live/stream.ogg' type='audio/ogg')
|
div.player
|
||||||
|
button#play
|
||||||
|
small#cur-time
|
||||||
|
div #[button#vol-down 🔈] #[input#volume(type="range", name="volume" min="0" max="100")] #[button#vol-up 🔊]
|
||||||
|
audio(preload='none' controls='' playsinline='')
|
||||||
|
source(src='http://radio.arav.home.arpa/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]!
|
| Your browser doesn't support an audio element, it's sad... But you always can take the #[a(href='/playlist') playlist]!
|
||||||
|
div
|
||||||
if status.ServerStartDate != ""
|
if status.ServerStartDate != ""
|
||||||
p#radio-status On-air since
|
p#radio-status On-air since
|
||||||
time(datetime=status.ServerStartISO8601)= status.ServerStartDate
|
time(datetime=status.ServerStartISO8601)= status.ServerStartDate
|
||||||
|
Loading…
Reference in New Issue
Block a user