speech-input
Simple speech input for <input>
elements — replaces the now defunct x-webkit-speech
attribute
Use:
- Include speech-input.css and speech-input.js
- Add a
speech-input
class to your input field
And you're done! Here's a demo:
FAQ
Why does it keep asking me to allow the microphone?
To have the microphone permissions persist, use https: http://stackoverflow.com/a/15999940/552067
I clicked the mic button but it didn't do anything.
Make sure you're using it on an actual server — it won't work on a file://
URL. Try starting up a simple static HTTP server.
Can I use this in non-webkit browsers?
Not yet.