Posted in JavaScript

Add Voice Control In Website With JavaScript – Voix.js

Add Voice Control In Website With JavaScript – Voix.js Posted on January 10, 2016Leave a comment

Deepanker Verma is the CEO of Techlomedia and a full time blogger. On this blog, he shares web design resources, SEO tips blog monetization tips.

voix.js JavaScript library
Best WordPress Hosting

On any websites, Mouse is the primary method of input on desktop and touch on mobile devices. Few websites also implement keyboard shortcuts for few operations. But what if you want to add voice control to perform actions and navigate to other part of the website. Yes, you can do with the help of Javascript.

Also read: Adding Keyboard Shortcuts To Your Website With Mousetrap

Voix.js is a nice JavaScript library which lets you add voice control on your website. Use is almost similar like we do for other Js based libraries.

Advertisement

Just include the JS in your HTML file.

Then create a new instance:

To set a voice command for an event, use the below code. In the below example, it will set ‘Play’ voice command for  action.

Read more about this JS library on its official website.

It is worth to mention that this library works only in Google Chrome. So, take care this and add a note on your website for users if you are planning to use it in your website.

advertisement

Deepanker Verma is the CEO of Techlomedia and a full time blogger. On this blog, he shares web design resources, SEO tips blog monetization tips.

Leave a Reply

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Receive fresh web design resources and SEO tips in your email by our weekly newsletter

You have Successfully Subscribed!