hiddentao/google-tts

No response from tts.play()

Opened this issue · 3 comments

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/

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.

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).

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