forked from mmig/libflac.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdecode.html
64 lines (53 loc) · 1.89 KB
/
decode.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
<!-- doctype html -->
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>DECODE: FLAC to WAV conversion</title>
<script type="text/javascript">window.FLAC_SCRIPT_LOCATION = '../dist/';</script>
<script src="../dist/libflac3-1.3.2.min.js" type="text/javascript"></script>
<!-- script src="encode-func.js" type="text/javascript"></script-->
<script src="decode-func.js" type="text/javascript"></script>
<script src="util/data-util.js" type="text/javascript"></script>
<style>
.drop-zone {
border: 1px red solid;
height: 250px;
}
.drop-hint {
text-align: center;
padding-top: 100px;
}
.hint {
background-color: #C6E7FF;
color: #0094FF;
border-radius: 50%;
height: 1em;
width: 1em;
display: inline-block;
}
.hint:before {
content: ' ? ';
margin-left: 0.25em;
}
</style>
</head>
<body>
<div>
<h1>FLAC to WAV conversion</h1>
<p>
Either use the drop zone or the file selection button.
</p>
</div>
<div id="drop_zone" class="drop-zone"><div class="drop-hint">Drop FLAC-files here</div></div>
<input type="file" id="files" name="files[]" multiple />
<input type="checkbox" id="check_download" checked>Download <div class="hint" title="download WAV file after decoding"></div>
<input type="checkbox" id="check_verify" checked>Verify <div class="hint" title="Checksum verification during decoding
(disable for faster decoding)"></div>
<!--input type="button" id="files_button" value="process file"-->
<output id="list"></output>
<script src="util/file-handler.js" type="text/javascript"></script>
<!-- script src="app-encode.js" type="text/javascript"></script-->
<script src="app-decode.js" type="text/javascript"></script>
</body>
<html>