aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/vcNarrator.tsx2
1 files changed, 1 insertions, 1 deletions
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