No SpeechSynthesis in window?
Given how often people ask for TTS and that I also wanted it, I thought I'd try making a plugin for it.188BET靠谱吗I had planned on using the Web Speech API[1] already in javascript but I've just discovered it seems to not be present in Zotero, Object.values(Object.getOwnPropertyNames(window)).includes("speechSynthesis") returns false and attempts to import SpeechSynthesis always fail
This is especially weird since Z6 is based on FF 60 and Web Speech was apparently added in FF 49...
I was wondering if this is a deliberate thing, something wrong with my setup or some other misunderstanding on my part...
[1] https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis
This is especially weird since Z6 is based on FF 60 and Web Speech was apparently added in FF 49...
I was wondering if this is a deliberate thing, something wrong with my setup or some other misunderstanding on my part...
[1] https://developer.mozilla.org/en-US/docs/Web/API/SpeechSynthesis
-
dstillmanedited April 18, 2023Possible it was behind a pref.188BET靠谱吗It's available in Zotero 7, which will be in beta shortly.(Developer version available on the dev list.)