artyom.js icon indicating copy to clipboard operation
artyom.js copied to clipboard

How do I keep my voice recognition on automatically when there's a page change

Open alishaaleem opened this issue 6 years ago • 2 comments

Whenever there's a page change, the microphone is turned off. How do I stop this and keep it turned on if the user has the microphone turned on in the previous page.

alishaaleem avatar Jan 13 '19 17:01 alishaaleem

The only way to achieve what you want is if your application is a single-page application (Angular, React, Vue etc).

sdkcarlos avatar Jan 20 '19 17:01 sdkcarlos

Once ive made something in JS using window.addEventListener('DOMContentLoaded', (event) => { {Put here your code } }) So every time changing/reload page will be activate Recognition

andrii-bohdan avatar Oct 19 '20 13:10 andrii-bohdan