Is it possible to use the Web Speach API in a packaged app at the moment?

265 views
Skip to first unread message

Gene Shuman

unread,
Jan 20, 2013, 5:07:48 PM1/20/13
to chromiu...@chromium.org
I have tried to port/strip down the default demo - https://www.google.com/intl/en/chrome/demos/speech.html to a packaged app, and I keep getting a not-allowed error.  The code is here - https://github.com/geneshuman/recognate if anybody cares to take a look.  I figure any number of:

- I'm doing something stupid
- I don't have the correct permission set in the manifest file
- this simply isn't supported yet

Any thoughts at all would be appreciated.  Baring getting this to work, I'll just use - https://developer.chrome.com/extensions/experimental.speechInput.html which is clearly supported & should functionally be about the same.  Thanks!

Gamer_Z.

unread,
Jan 20, 2013, 5:40:32 PM1/20/13
to chromiu...@chromium.org
The experimental Chrome Speech Input API would work, but extensions that use experimental APIs are banned from the CWS, and installing CRXes outside of the CWS has become very user-unfriendly.  As far as I can tell, there is no way for a crx to request permission to use the Web Speech API, but I really hope someone can prove me wrong.

—Zachary “Gamer_Z.” Yaro

Gene Shuman

unread,
Jan 20, 2013, 5:47:43 PM1/20/13
to chromiu...@chromium.org
Great, thanks for the input.  So the Speach API is in the chrome 25 beta, so I'm guessing it may be being upgraded from experimental?  So maybe I just need to wait.  Or maybe how to do this simply hasn't been documented yet.  Regardless, I'll probably just see what I can do with the older api.  

=Gene
Reply all
Reply to author
Forward
0 new messages