-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathlisten.html
More file actions
96 lines (96 loc) · 4.54 KB
/
listen.html
File metadata and controls
96 lines (96 loc) · 4.54 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
<meta http-equiv='content-language' content="en">
<meta name="description" content="Explore live streams from Weather Ranch and our partners, including weather updates, music, and entertainment. Watch now!">
<title>Listen - Weather Ranch Streaming</title>
<meta property="og:url" content="https://streaming.weatherranch.com" />
<meta property="og:type" content="audio" />
<link rel="favicon" href="/favicon.ico">
<link rel="manifest" href="/manifest/radio.json"/>
<head>
<link rel="stylesheet" href="/css/root.css">
<link rel="stylesheet" href="/css/buttons.css">
<link rel="stylesheet" href="/css/radioplayer.css">
<script src="/js/radioplayer.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="/css/libslider.css">
<script src="/js/libslider.js"></script>
</head>
<body>
<h1 class="hidden">Weather Ranch Streaming Site</h1>
<header>
<nav class="nav-links">
<a href="/" class="nav-logo"><img class="headerlogo" alt="Weather Ranch Logo" src="/img/logo.svg"></a>
<a href="/home" class="header-link"><img class="nav-icon" alt="Home button" src="/assets/icons/home.svg"><button class="header-btn">Home</button></a>
<a href="/guide" class="header-link"><img class="nav-icon" alt="Guide Button" src="/assets/icons/guide.svg"><button class="header-btn">Guide</button></a>
<a href="/radio" class="header-link"><img class="nav-icon" src="/assets/icons/radio.svg"><button class="header-btn">Radio</button></a>
<a href="/about" class="header-link"><img class="nav-icon" alt="About page" src="/assets/icons/info.svg"><button class="header-btn">About</button></a>
</nav>
</header>
<div class="main paused">
<div class="station-artwork-background">
<div class="station-artwork-background-items">
<img class="fh fv"/>
<img class="fv"/>
<img class="fh fv"/>
<img class="fh"/>
<img class=""/>
<img class="fh"/>
<img class="fh fv"/>
<img class="fv"/>
<img class="fh fv"/>
</div>
</div>
<div class="player-bounds">
<div class="station-artwork-bounds">
<img class="station-artwork" src="/img/radio-generic.svg" onerror="fallback()">
</div>
<div class="hd-text">
<h1>Loading</h1>
<h2>Loading</h2>
</div>
<div class="controls">
<div class="throbber-bounds">
<div class="throbber"></div>
</div>
<button class="playpause" style="display: none"><span class="material-symbols-outlined">play</span></button>
</div>
<range class="volume-slider" width="200">
<input type="range" id="volume" min="0" max="100" value="100"/>
<runnabletrack>
<rangetrack>
<thumb></thumb>
</rangetrack>
</runnabletrack>
</range>
</div>
<aside class="station-info">
<h2>Station Info</h2>
<hr>
<h1 style="display: none" class="station-name">Loading</h1>
<p class="monospace station-desc">Loading</p>
<div style="display: none" class="station-genre dashbox">
<h3>Genre</h3>
<hr>
<span></span>
</div>
<div style="display: none" class="station-website dashbox">
<h3>Website</h3>
<hr>
<a target="_blank"></a>
</div>
</aside>
</div>
</div>
<script>
window.addEventListener('load', () => {
document.addEventListener('click', () => {
for (const audio of document.querySelectorAll('[autoplay]')) {
audio.play()
}
}, { passive: true, once: true })
}, { passive: true })
</script>
</body>