-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (44 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Compress</title>
</head>
<body>
<h2>Upload test</h2>
<div id="connect_section">
<label>API KEY</label>
<input type="text" id="api_key" name="api_key" form-init="true">
<label>CLIENT</label>
<input type="text" id="customer_name" name="customer_name" form-init="true">
<button id="connect">Connect</button>
</div>
<div id="upload_section" style="display: none;">
<label>Title</label>
<input type="text" id="title" value="titolo" name="title" form-init="true">
<label>Category</label>
<select id="categories">
</select>
<br />
<br />
<label for="file">Choose a file:</label>
<input type="file" id="file_to_upload" name="file" accept="video/*">
<br />
<br />
<button id="upload">Upload Evaporate</button>
<br />
<br />
<button id="upload_presign_url">Upload Presign</button>
</div>
<br />
<br />
<div id="progress" style="position: relative; width: 50%; height: 20px; background-color: rgba(255, 0, 0, 0.477); display: none;">
<div id="progress_bar" style="position: absolute; width: 0%; height: 100%; background-color: red;"></div>
</div>
<!-- -->
</body>
<script type="text/javascript" src="./dist/compress.umd.js"></script>
<script type="text/javascript" src="example.js"></script>
</html>