Fix errors on setups with no SpeechSynthesis support (part 2)
This commit is contained in:
		
							parent
							
								
									e4f3f57a28
								
							
						
					
					
						commit
						e767da4b08
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -217,7 +217,7 @@ export default definePlugin({ | ||||||
|             voice: { |             voice: { | ||||||
|                 type: OptionType.SELECT, |                 type: OptionType.SELECT, | ||||||
|                 description: "Narrator Voice", |                 description: "Narrator Voice", | ||||||
|                 options: speechSynthesis?.getVoices().map(v => ({ |                 options: window.speechSynthesis?.getVoices().map(v => ({ | ||||||
|                     label: v.name, |                     label: v.name, | ||||||
|                     value: v.voiceURI, |                     value: v.voiceURI, | ||||||
|                     default: v.default |                     default: v.default | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue