8 lines
293 B
JavaScript
8 lines
293 B
JavaScript
|
// Skontroluj podporu Web Speech API
|
||
|
window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
|
||
|
|
||
|
if (!window.SpeechRecognition) {
|
||
|
console.error('Tento prehliadač nepodporuje Web Speech API');
|
||
|
} else {
|
||
|
console.log('Web Speech API je podporované');
|
||
|
}
|