Quickstart - Web
This tutorial only contains a quick way to start using Zeroth on browser
Zeroth ready in 5 mins
First, create file name Index.html
<!DOCTYPE html>
<html>
<body>
<div>
<h2>Zeroth Demo</h2>
<h3>Record</h3>
<p>
<button class='start'>start</button>
<button class='stop'>stop</button>
</p>
<h3>Response</h3>
<p>
<span><b>transcript only - </b></span>
<span class='transcript'></span>
</p>
<p>
<span><b>complete json - </b></span>
<span class='json'></span>
</p>
</div>
<script src='zeroth.min.js'></script><!-- Importing zeroth.min.js -->
<script src='app.js'></script>
</body>
</html>Line 8: It is a button to start recording
Line 9: It is a button to stop recording
Line 14: It is an area for result of transcription. result will be shown in it.
Line 22: It imports zeroth library. you can download
zeroth.min.jsfrom hereLine 23: zeroth library will be initialized here.
create app.js file to initialize zeroth as below. Detail explanation can be found in Javascript Library Page
There's two way to use zeroth-js
and this is Using without Server(Less secure but simple) way.
If you are using with Server, Please check Using with Server(Secure way, Recommended) way.
open index.html and you can start using Zeroth.
Last updated