Skip to content

The language type cannot be set to zh-TW - Google Mandarin (Taiwan) #94

Description

@changmen1

Read Aloud does not work in Google Chrome

    import { useSpeechSynthesis } from "react-speech-kit";
    const { speak ,voices} = useSpeechSynthesis();
    const voice = voices[20] || null;
              <Button
                color="default"
                variant="text"
                size="small"
                disabled={status === "loading" ? true : false}
                icon={<MutedOutlined />}
                onClick={() => {
                speak({ text: message ,voice });
               }}
            />

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions