Skip to content

Commit

Permalink
Fix for Android playback in demo
Browse files Browse the repository at this point in the history
related to #37
  • Loading branch information
HadrienGardeur committed Jun 22, 2024
1 parent 20ea857 commit cecfa69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demo/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ function readTextWithSelectedVoice() {
for (const voice of voices) {
if (voice.name === selectedVoice) {
utterance.voice = voice;
utterance.lang = voice.lang;
break;
}
}
Expand Down

0 comments on commit cecfa69

Please sign in to comment.