我在stackoverflow中找到了this question。我试图做同样的事情,但它不起作用。
<html>
<body>
<script type="text/javascript">
var audio = new Audio();
audio.src ='https://translate.google.com/translate_tts?ie=utf-8&tl=en&q=Hello%20World';
audio.play();
</script>
</body>
</html>
你能告诉我出了什么问题吗?