Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox 69.0.3 annyany errors! #406

Open
Neilblaze opened this issue Oct 12, 2019 · 3 comments
Open

Firefox 69.0.3 annyany errors! #406

Neilblaze opened this issue Oct 12, 2019 · 3 comments

Comments

@Neilblaze
Copy link

Although Firefox should support the Webspeech API now, annyang gives errors!
Firefox does not supports - "recognition.continuous"
If I have debug disabled, there are no errors, but also it shows nothing!

Any fixes?

@LarryBattle
Copy link

LarryBattle commented Oct 30, 2019

The MDN docs say that Firefox don't currently support recognition.continuous.
However, they post a workaround.

recognition.onresult = function(event) {
    ...
  recognition.start();
}

So maybe.... putting recognition.start(); at the end here could fix it.

parseResults(results);

https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/continuous

Or you could disable if no support for recognition.continious

recognition.continuous = root.location.protocol === 'http:';

@Neilblaze
Copy link
Author

Thanks a lot. I did the same as you told, & it worked :)

@NOPROD
Copy link

NOPROD commented Feb 4, 2020

Hi, no pull request ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants