Skip to content

Console Errors when using this plugin on a wordpress site #22

@r-interactive

Description

@r-interactive

Hello,

It seems to be a great light-weight plugin that we would like to use, but when I follow the steps on getting it to work, it's giving me a lot of errors.
Please find the error messages below and a screenshot attached.
==============ERRORS=============
Access to XMLHttpRequest at 'https://www.nameshouts.com/api/names/naureenanwar' from origin 'https://XXXXX' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse ()
at vocalizer.min.js?ver=20151215:1:681
at a.onerror (vocalizer.min.js?ver=20151215:1:467)

Failed to load resource: net::ERR_FAILED www.nameshouts.com/api/names/naureenanwar:1

==============ERRORS=============
Capture2

When I tried using this method:
Naureen Anwar
or just this simple name
John

this gives me the errors mentioned above. But when I tried this method (custom mp3 audio):

John

This works and plays the audio. This doesn't give me any errors.

How can I fix this?

Thank you!

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