[mirotalksfu] - UI
هذا الالتزام موجود في:
@@ -83,6 +83,7 @@ if (speechRecognition) {
|
|||||||
console.log('Start speech recognition');
|
console.log('Start speech recognition');
|
||||||
hide(chatSpeechStartButton);
|
hide(chatSpeechStartButton);
|
||||||
show(chatSpeechStopButton);
|
show(chatSpeechStopButton);
|
||||||
|
setColor(chatSpeechStopButton, 'lime');
|
||||||
};
|
};
|
||||||
|
|
||||||
recognition.onresult = (e) => {
|
recognition.onresult = (e) => {
|
||||||
@@ -106,6 +107,7 @@ if (speechRecognition) {
|
|||||||
console.log('Stop speech recognition');
|
console.log('Stop speech recognition');
|
||||||
show(chatSpeechStartButton);
|
show(chatSpeechStartButton);
|
||||||
hide(chatSpeechStopButton);
|
hide(chatSpeechStopButton);
|
||||||
|
setColor(chatSpeechStopButton, 'white');
|
||||||
};
|
};
|
||||||
|
|
||||||
isWebkitSpeechRecognitionSupported = true;
|
isWebkitSpeechRecognitionSupported = true;
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم