Why Dose The Web Speech API Only Work On NewTabs?
For Some Reson the SpeechRecognition
API does not work in replit, it only works in a new tab.
Code:
let sttRec = new webkitSpeechRecognition() || new SpeechRecognition(); -- Creates A New SpeechRecognition Object
...
sttRec.start(); -- Supposed to Start it But Never Dose Unless You Are In a New Tab
I know the Web Speech API is experimental but it should work in replit.
More about the Web Speech API at: https://developer.mozilla.org/en-US/docs/Web/API/Web_Speech_API
Voters