-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (70 loc) · 2.33 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
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<!--
UpFish - dynamically making fun of your movies
Copyright (C) 2021 Joey Parrish
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<html>
<head>
<title>UpFish - test page</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="upfish.svg">
</head>
<body>
<div>
<label for="mediaInput">Media URL:</label>
<input id="mediaInput" type="text">
<span id="mediaInputError" style="color: red; font-weight: bold;"></span>
</div>
<div>
<label for="forceSurroundInput">Force surround sound:</label>
<input id="forceSurroundInput" type="checkbox">
</div>
<div>
<label for="configInput">Config URL:</label>
<input id="configInput" type="text">
<span id="configInputError" style="color: red; font-weight: bold;"></span>
</div>
<div>
<button id="loadButton">Load</button>
</div>
<video id="video" controls>
<source type="video/mp4">
</video>
<div>
<label for="timeDebug">Current media timestamp:</label>
<span id="timeDebug"></span>
</div>
<div>
<label for="speedDebug">Current extra audio speed:</label>
<span id="speedDebug"></span>
</div>
<div>Change playback rate:
<select id="playbackRateControl">
<option>2.0</option>
<option>1.5</option>
<option selected>1.0</option>
<option>0.5</option>
<option>0.25</option>
</select>
</div>
<div>
<label for="gainDebug">Current gain:</label>
<span id="gainDebug"></span>
</div>
<div style="display: flex;">
<label for="gainChange">Change gain:</label>
<span id="gainChange"></span>
</div>
</body>
<script type="module" src="main.js"></script>
</html>