-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (36 loc) · 893 Bytes
/
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
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="/css/main.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
<section role="main">
<div>
<label for="message">
Enter text you want spoken
</label>
<textarea
name="message"
placeholder="Add text here, or click Speak for the default message"
id="message"></textarea>
</div>
<div>
<button onClick='speech.initialize()' id='btn_speak'>
Speak
</button>
<button onClick='speech.pause()' id='btn_pause' disabled='true'>
Pause
</button>
<button onClick='speech.resume()' id='btn_resume'>
Resume
</button>
<button onClick='speech.cancel()' id='btn_cancel'>
Cancel
</button>
</div>
</section>
<script src="/js/speech.js"></script>
</body>
</html>