ekovoicehandler
v1.0.24
Published
A javascript library that allows eko-studio users to add vocal commands instead of using traditional button-click interaction.
Downloads
7
Readme
ekovoicehandler.js
A javascript library that allows eko-studio users to add vocal commands instead of using traditional button-click interaction.
TABLE OF CONTENTS
1. Description
This library uses artyom.js and it's made in a way that content creators who use eko studio tool can add vocal commands without necessarily developing code.
Follow this guide to learn how to use the commands.
2. How to use
1st Step: Include this library in your eko-project
After creating an eko project, open the developer mode by clicking the button on the topright of the page between preview and publish.
Open the code panel and click on "add package". . On the search bar digit "ekovoicehandler.js" and click on the result.
notice: If you've done the checkout of your project you can install this library inside your local project by running the command "npm install ekovoicehandler.js --save" from the command prompt.
2nd Step: Copy and paste these lines on the code panel
import voice from './ekovoicehandler.js'
Paste this line on the top of the page.
voice.onInit(player,"it-IT","decision");
Paste this line inside function onInit
3rd Step: Add your personal Keywords
Select a node and decide which keywords will take you to the node selected.
Right-click and open metadata.
Write "keywords: []"