Add one line of code to introduce voice search in your website. Developers can add voice search at two most common places
1. Embedding voice search (mic) in search box
2. Embedding voice search (mic) in comment box
Digital Inspiration provided a simple piece of html code to implement this feature and hence the credit goes to Amit Agarwal for his simplified explanation. Follow up this code snippet below for more
Add Speech Input to your Search Box
<html>
<form method="get" action="http://www.google.com/search">
<input type="text" name="q" size="30" x-webkit-speech />
<input type="submit" value="Google Search" />
</form>
</html>
Copy paste this code in notepad and save as html, run this to find mic icon on search and this is ready to use. Currently this feature only works in chrome for now. I believe chrome rendering engine recognizes the tag due to implicit Google support.
Read more – how to add voice search in comments by Digital InspirationRead more on : Chrome Experiments
