/speech-input

Simple speech input for <input>s —replaces the now defunct x-webkit-speech attribute

Primary LanguageJavaScript

speech-input

Simple speech input for <input> elements — replaces the now defunct x-webkit-speech attribute

Use:

  1. Include speech-input.css and speech-input.js
  2. Add a speech-input class to your input field

And you're done! Here's a demo:

speech-input 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.

License (MIT)