diff --git a/src/plugins/vcNarrator.tsx b/src/plugins/vcNarrator.tsx index ee5c0d4..f55f639 100644 --- a/src/plugins/vcNarrator.tsx +++ b/src/plugins/vcNarrator.tsx @@ -217,7 +217,7 @@ export default definePlugin({ voice: { type: OptionType.SELECT, description: "Narrator Voice", - options: speechSynthesis?.getVoices().map(v => ({ + options: window.speechSynthesis?.getVoices().map(v => ({ label: v.name, value: v.voiceURI, default: v.default