title: Speech recognition not working in chrome
body: <p>I am trying to access the audio from chrome browser using javascript code below, but when I click the the button the <code>recognition.onresult</code> event is not firing in chrome browser, however when I access the online webpage that contains live demo of speech to text, its working fine in chrome browser please help.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    var recognition = new SpeechRecognition();
    recognition.onresult = function(event)
    {
      if (event.results.length &gt; 0) 
      {
         alert("Working");
      }
    }
  &lt;/script&gt;
  
  &lt;form&gt;
    &lt;input type="button" value="Click to Speak"onclick="recognition.start()"&gt;
  &lt;/form&gt;
  </code></pre>