summaryrefslogtreecommitdiff
path: root/templates/var/www/html/index.html
blob: 9f6d327af493fc61da98a956cb271006a8b93037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  <link rel="icon" href="data:," />
  <link rel="stylesheet" href="style.css" />
  <title>{{ radio_name }}</title>
</head>
<body>
  <video id="background" autoplay muted playsinline preload="auto"></video>
  <div id="fadeOverlay"></div>
  <div class="index-container">
    <div class="player-wrapper">
      <a id="radioButton" class="btn" href="#">play</a>
      <div id="info"></div>
      <div class="link-row">
        <a class="link" target="_blank" href="/stream">direct stream url</a>
        <a id="toggleBg" class="link" href="#">background (on)</a>
      </div>
      <audio id="radioPlayer" hidden>
        <source src="/stream" type="audio/ogg" />
        Your browser does not support the audio element.
      </audio>
    </div>
  </div>

  <script>
  </script>
  <script src="audio-controls.js"></script>
  <script src="video-background.js"></script>
</body>
</html>