HTML5 speech input and Google Translate text-to-speech, problem in Chrome

后端 未结 2 1098
你的背包
你的背包 2021-01-23 03:40

I\'m creating a voice/text-memo web application. Here: http://gustavstromberg.se/sandbox/html5/localstorage/ look at its source (very short, most of it is css)

This is:

2条回答
  •  隐瞒了意图╮
    2021-01-23 04:08

    I tried hard Gustav, and this is what I found after a bit of research and testing.

    It seems Chrome is having trouble streaming mp3 (the format google returns). The only solution I can imagine is getting the file (cURL?) to your server and then present it to the user. I assume when Google releases the official API, there will also be some sort of a format option.

    http://code.google.com/p/chromium/issues/detail?id=45152

    http://www.trygve-lie.com/blog/entry/html_5_audio_element_and (yes, the play button is the same color as the background, funky)

提交回复
热议问题