-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathplayer.html
More file actions
60 lines (56 loc) · 2.32 KB
/
Copy pathplayer.html
File metadata and controls
60 lines (56 loc) · 2.32 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
<!doctype html>
<!-- Legacy standalone test/dev harness. Production ships through index.html SPA routes. -->
<html lang="en">
<head>
<meta charset="utf-8"/>
<script>
(function(){
var stored = null;
try {
stored = localStorage.getItem("vatio_board_lang");
} catch (error) {
stored = null;
}
var l = stored || (navigator.language && navigator.language.startsWith("es") ? "es" : "en");
document.documentElement.lang = l;
window.__lang = l;
})();
</script>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/>
<link rel="icon" type="image/svg+xml" href="/favicon_dark.svg?v=2" media="(prefers-color-scheme: dark)" />
<link rel="icon" type="image/svg+xml" href="/favicon_ligth.svg?v=2" media="(prefers-color-scheme: light)" />
<link id="favicon-fallback" rel="icon" type="image/svg+xml" href="/favicon_ligth.svg?v=2" />
<link id="shortcut-favicon" rel="shortcut icon" href="/favicon_ligth.svg?v=2" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<script>
(function () {
var query = window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)") : null;
var icons = [
document.getElementById("favicon-fallback"),
document.getElementById("shortcut-favicon")
];
function applyThemeFavicon() {
var href = (query && query.matches ? "/favicon_dark.svg" : "/favicon_ligth.svg") + "?v=2";
icons.forEach(function (icon) {
if (icon) icon.href = href;
});
}
applyThemeFavicon();
if (!query) return;
if (query.addEventListener) query.addEventListener("change", applyThemeFavicon);
else if (query.addListener) query.addListener(applyThemeFavicon);
})();
</script>
<title>VatioBoard Audio Player</title>
<meta name="color-scheme" content="light dark">
</head>
<body class="player-demo-page">
<div class="player-demo">
<h1>Audio Player</h1>
<p>Embeddable audio player widget. Draggable panel, floating launcher, local-first playback with offline support.</p>
<button id="openPlayer" class="player-demo-btn" type="button">Open Player</button>
</div>
<script type="module" src="/src/player/player-demo.ts"></script>
</body>
</html>