Question

How does the HTML5 Voice input on Chrome (Mac) get access to the mic? Is it because I have the google voice plugin installed?

Shouldn't the browser explicitly ask for permission before giving access?

http://slides.html5rocks.com/#speech-input

Was it helpful?

Solution

The microphone isn't directly being exposed to the Web page—it's just posting the speech (and receiving text) through Google servers so it's not considered a security issue (and you have to click the microphone icon to start it). It's pretty similar to how voice input works on Android and Google's iPhone/Blackberry apps.

OTHER TIPS

It is explicitly asking permission before giving access, that's what clicking the microphone icon is.

Think of it more like the <input type="file"> element -- you click "Browse", it shows you your file system, and the browser sends the selected file directly to the server.

For those saying that you can't style the button and it can't be exploited - it was done with Facebook like buttons - http://www.esrun.co.uk/blog/disguising-a-facebook-like-link/

So what's to stop it working for the Google Mic button?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top