-
-
Notifications
You must be signed in to change notification settings - Fork 38
/
index.html
43 lines (41 loc) · 1.63 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
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Web Speech APIU</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="style/web-speech.css">
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
</head>
<body>
<main>
<div class="container mt-3">
<h3 class="text-center">Web Speech API Demo</h3>
<div id="info"></div>
<div class="float-right">
<button id="start_button">
<img id="start_img" src="images/mic.gif" alt="Start"></button>
</div>
<div id="results">
<span id="final_span" class="final"></span>
<span id="interim_span" class="interim"></span>
<p>
</div>
<div class="row col-12 p-0 m-0">
<div class="row col-12 col-md-8 col-lg-6 p-0 m-0">
<select id="select_language"></select>
<select id="select_dialect"></select>
</div>
<div class="col-12 col-md-4 col-lg-6 mt-3 mt-md-0 p-0 m-0">
<div class="float-right">
<button id="copy_button" class="btn btn-primary ">Copy</button>
</div>
</div>
</div>
</div>
</main>
<script src="js/languages.js"></script>
<script src="js/web-speech-api.js"></script>
</body>
</html>