2

I am experiencing an strange behaviour in Firefox 25 and Firefox OS (latest 1.4 nightly). With Firefox 26 the error is gone and everything works perfectly.

<audio autoplay="autoplay"> 
    <source src="http://translate.google.com/translate_tts?tl=en&q=Hello%20Firefox" />  
</audio>

Firefox 25 Debug Console says something like: Error 404 Mediafile not found. Pausing. Also no controls show up. Ideas?

Hugolpz
  • 17,296
  • 26
  • 100
  • 187
paulgavrikov
  • 1,883
  • 3
  • 29
  • 51
  • There is a try to play the audios, works on Chrome http://jsfiddle.net/dwog58kb/2/ Note: The Google API have inconsistencies on which input it expects, depending on language (en: string, zh: "string"), words or sentences. It's a work to push further. And you may eventually end up needing a library. – Hugolpz Oct 02 '14 at 20:12
  • 1
    Such this one : https://github.com/hiddentao/google-tts – Hugolpz Oct 02 '14 at 20:18

0 Answers0