A
A
aplic2014-01-21 23:17:16
Google Chrome
aplic, 2014-01-21 23:17:16

Why doesn't Chrome speech input hear the microphone?

<input type="text" speech x-webkit-speech /> does not hear the microphone, while Google search on the adjacent page works fine. Went through all the settings, no effect. What is the correct way to use x-webkit-speech?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Makarov, 2014-01-21
@FlipLab

Links to study

nooshu.com/experimenting-with-webkit-form-speech-input - How to add support for speech input
www.w3.org/2005/Incubator/htmlspeech/2010/10/googl... - Google's speech input API specifications
Is the Voice Search plugin worth it?
Alternatively, an example code:
<script>
function speechcapable(){
document.getElementById('text').innerHTML = document.getElementById('speech').value;
}
</script>
<input name="speech" id="speech" type="text" x-webkit-speech speech error onwebkitspeechchange="speechcapable(true);" />
<textarea style="width:200px; height:60px;" id="text"></textarea>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question