forked from watson-developer-cloud/speech-javascript-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebpack.html
More file actions
31 lines (25 loc) · 916 Bytes
/
webpack.html
File metadata and controls
31 lines (25 loc) · 916 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Watson Speech to Text Webpack example</title>
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
</head>
<body>
<div class="container">
<a href="/">« Examples</a>
<section>
<h2>Transcribe from Microphone via Webpack bundle</h2>
<button id="button">Start Microphone Transcription</button>
<h2>Output:</h2>
<div id="output">--</div>
</section>
<script src="webpack-bundle.js"></script>
<h2>Code for this demo:</h2>
<p>Note: this code is compiled into <a href="webpack-bundle.js"><code>webpack-bundle.js</code></a> by
<code>webpack</code> and <code>webpack-dev-middleware</code>. See <code>server.js</code>.</p>
<pre><code><embed type="text/plain" src="webpack-app.js" width="100%" height="600"></embed></code></pre>
</div>
</body>
</html>