Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response from tts.play() #14

Open
amrav opened this issue Feb 11, 2014 · 3 comments
Open

No response from tts.play() #14

amrav opened this issue Feb 11, 2014 · 3 comments

Comments

@amrav
Copy link

amrav commented Feb 11, 2014

Hi

I'm not getting any response from tts.play(). I passed it a callback function to see if there are any errors, but that function isn't getting called. Even the demo webpage[0] doesn't play anything, when I enter text and hit play. There are no errors when I go to my browser's console, and try the same thing. Here's my code:

var tts = new GoogleTTS("en");
tts.play("Hello world", "en", function(err) {
    alert(err); // no alerts pop up
}

I'm on trying this on Chrome 32, on OS X Mountain Lion.

[0] - http://hiddentao.github.io/google-tts/

@hiddentao
Copy link
Owner

The demo site doesn't work for me either now. It previously used to work, but now I think that Google servers reject the request because the HTTP referrer indicates that the it's not coming from a Google site. I've taken the demo link off the github repo page now.

@hiddentao
Copy link
Owner

I've done some testing and can conclude that there is currently no way of getting it working within Chrome unless HTML5 MP3 playback is supported (which it still currently isn't as far as I can tell).

@ghost
Copy link

ghost commented May 17, 2016

  • [ ]
  • [ ]
  • [ ]
  • [ ]
  • [ ]
  • [ ]
  • [ ]
  • [ ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants