Today when debugging my web, I saw this messing in the console:
The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
Ok I used the Chrome feature on one of my textboxes:
<input id="q" x-webkit-speech="" onwebkitspeechchange="transcribe(this.value);" placeholder="Enter search term" name="q" onfocus="if(this.value=='Enter search term') this.value = '';" onblur="if (this.value=='' ) this.value = 'Enter search term';" type="text" maxlength="100" value="" autocomplete="off">
It is to create this effect:
You can try it yourself (if you’re on Chrome):
So, Google is deprecating x-webkit-speech feature on Chrome/Chromium. What’s next ? Using Javascript speech API or HTML5? Welcome to the new saga.
Anyway, if you’re interested, continue to read on at http://updates.html5rocks.com/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API
No comments:
Post a Comment