google chrome - How to make HTML5 speech recognition not ask permission every time -


i have created script requires microphone. uses html5 speech recognition api. chrome asks permission every time want perform speech recognition test.

javascript (partial) code using:

         var recognition = new webkitspeechrecognition();             recognition.continuous = true;             recognition.interimresults = true;             recognition.onresult = function(event) {                 console.log(event.results[0][0].transcript);                 if(event.results[0][0].transcript === 'print')                 {                     console.log('');                 }             };              recognition.start(); 

i have tried add list of exceptions in either chrome , flash player, still asks permission.

printscreen:

print screen example

that message pops everytime click button. there way disable chrome asking permission?

as jschorr mentioned in comments above, using https prevent browser asking permissions every time recognition started

as stated here


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -