-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
60 lines (60 loc) · 2.26 KB
/
index.html
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>
<html>
<head>
<meta charset="utf-8">
<title>vgmstream-web Player</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="Listen to streamed video game audio files in your browser">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#5b9d2f">
<meta name="mobile-web-app-capable" content="yes">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="img/favicon.png" type="image/png">
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
<link rel="stylesheet" href="css/player.css">
<link rel="stylesheet" href="css/player-dark.css" media="(prefers-color-scheme: dark)">
<script src="js/dark-toggle.js"></script>
</head>
<body>
<main>
<header><h2>vgmstream-web</h2></header>
<input type="file" multiple id="browse">
<input type="file" webkitdirectory id="browsedir">
<div id="buttons" data-nosnippet>
<button class="greenbutton" id="selectbtn">Select or drop an audio stream file here...</button>
<button class="greenbutton" id="selectdirbtn">Folder</button>
</div>
<noscript><div data-nosnippet>This page requires JavaScript to be enabled in your browser.</div></noscript>
<div id="wasmwarning" data-nosnippet>This page requires WebAssembly to be enabled in your browser.</div>
<div id="directorybox">
<form>
<select id="dirselect" size="2"></select>
<div><input id="dirselectbtn" class="button" type="submit" value="Select"></div>
</form>
</div>
<div id="audiobox">
<div id="filenamebox"></div>
<div><custom-audio id="audio" controls></custom-audio></div>
<div><input id="download" class="button" type="button" value="Download"></div>
<div id="logbox">
<a id="logdropdown" tabindex="0">vgmstream output</a>
<div id="log"></div>
</div>
</div>
</main>
<div id="footer" data-nosnippet>
<ul>
<li><a href="https://github.com/vgmstream/vgmstream">vgmstream</a></li>
<li><a href="https://github.com/KatieFrogs">Katie Frogs</a></li>
<li>
<a id="darktoggle" tabindex="0">Dark theme</a>
<a id="darkreset" tabindex="0" title="Reset">(x)</a>
</li>
</ul>
</footer>
<div id="fadeoverlay" data-nosnippet>...</div>
<script src="js/soundbuffer.js"></script>
<script src="js/custom-audio.js"></script>
<script src="js/player.js"></script>
</body>
</html>