-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient.html
More file actions
72 lines (55 loc) · 1.99 KB
/
Copy pathclient.html
File metadata and controls
72 lines (55 loc) · 1.99 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
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>EmblaCoreJS Test Client</title>
<link rel="icon" type="image/png" sizes="96x96" href="./img/icon_96.png">
<link rel="icon" type="image/png" sizes="64x64" href="./img/icon_64.png">
<link rel="icon" type="image/png" sizes="32x32" href="./img/icon_32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./img/icon_16.png">
<!-- Example of using jsDelivr to fetch a specific release of EmblaCoreJS.
Change library version from 'X.Y.Z' before using! -->
<!-- <script type="importmap">
{"imports":{"@mideind/embla-core": "https://cdn.jsdelivr.net/npm/@mideind/embla-core@X.Y.Z/lib/web/embla-core.min.js"}}
</script> -->
<!-- Import map maps "@mideind/embla-core" to file in local directory. -->
<script type="importmap">
{"imports":{"@mideind/embla-core": "./embla-core.js"}}
</script>
<!-- Main module simply imports from "@mideind/embla-core" -->
<script type="module" src="./main.js"></script>
</head>
<body>
<h1>
<img src="./img/emblacore_icon.png" height="40" width="40" style="margin-bottom:-8px;">
EmblaCoreJS Test Client
</h1>
<p>
<strong>Server URL</strong>
<input id="server_url" type="text" value="https://api.greynir.is" style="width:293px">
<br><br>
<strong>Server API Key</strong>
<input id="server_api_key" type="password" value="" style="width:265px">
</p>
<input id="start_button" type="button" value="Stream microphone">
<br><br>
<textarea id="log" rows="20" cols="80" style="width:99%;"></textarea>
</body>
<style>
body {
font-family: Arial, sans-serif;
padding: 20px;
background-color: #eee;
}
body>div {
text-align: center;
}
h1 {
margin-top: 0;
}
</style>
</html>