Html Google文本到语音始终显示404(未找到)
我正在使用moodle开发网站。我需要使用文本到语音,所以我使用谷歌TTS,而且SimpleSpeak没有在moodle 2.7上工作 因此,在我的页面中,我有如下内容:Html Google文本到语音始终显示404(未找到),html,audio,text-to-speech,moodle,Html,Audio,Text To Speech,Moodle,我正在使用moodle开发网站。我需要使用文本到语音,所以我使用谷歌TTS,而且SimpleSpeak没有在moodle 2.7上工作 因此,在我的页面中,我有如下内容: <audio id="live" src="http://translate.google.com/translate_tts?tl=en&q=live" rel="noreferrer”> </audio> <div> <button onclick="
<audio id="live" src="http://translate.google.com/translate_tts?tl=en&q=live"
rel="noreferrer”>
</audio>
<div>
<button onclick="document.getElementById('live').play()" >play="">
live
</button>
</div>
我刚刚注意到你的错误。在代码中,您有:
rel="noreferrer”
而不是
rel="noreferrer"
您不小心打错了引号
” =/= "