-
Notifications
You must be signed in to change notification settings - Fork 3
/
gun.html
42 lines (40 loc) · 1.57 KB
/
gun.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Gun Audio Timeline</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.2.0/vis.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/amark/gun/gun.js"></script>
<script src="https://cdn.jsdelivr.net/gh/amark/gun/lib/promise.js"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.2.0/vis.min.css"
/>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous"
/>
<link rel="stylesheet" type="text/css" href="style.css" />
<link rel="stylesheet" href="/style.css" />
<script type="module" src="/script-gun.js" defer></script>
</head>
<body>
<div id="controls">
<button class="btn btn-light" id="talkButton">🤙 Talk</button>
<!--
<button id="recordButton">🤙 Record</button>
<button style="display: none;" id="pauseButton" disabled>Pause</button>
<button id="stopButton" disabled>✋ Stop</button>
-->
</div>
<br />
<div id="visualization"></div>
<div id="formats"></div>
<ol id="recordingsList"></ol>
<!-- inserting these scripts at the end to be able to use all the elements in the DOM -->
<script src="https://cdn.rawgit.com/mattdiamond/Recorderjs/master/dist/recorder.js"></script>
</body>
</html>