summaryrefslogtreecommitdiff
path: root/templates/var/www/html/index.html
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-07-05 16:14:03 +0300
committerheqnx <root@heqnx.com>2025-07-05 16:14:03 +0300
commit93e0c2614f4b6456f2bbcfb5122a2a3068c551fc (patch)
tree360886848239b4d5044ec1cfd190bdead19845e0 /templates/var/www/html/index.html
parente3a9e74d33ca5c3177f404327cc99ea70f1f2a45 (diff)
downloadansible-icecast2-93e0c2614f4b6456f2bbcfb5122a2a3068c551fc.tar.gz
ansible-icecast2-93e0c2614f4b6456f2bbcfb5122a2a3068c551fc.zip
adding looping, fade in-out videos
Diffstat (limited to 'templates/var/www/html/index.html')
-rw-r--r--templates/var/www/html/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/var/www/html/index.html b/templates/var/www/html/index.html
index 37d758b..7c45f1d 100644
--- a/templates/var/www/html/index.html
+++ b/templates/var/www/html/index.html
@@ -8,6 +8,8 @@
<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>
@@ -85,5 +87,6 @@
fetchCurrentTrack();
setInterval(fetchCurrentTrack, 10000);
</script>
+ <script src="video-background.js"></script>
</body>
</html>