js-调用,tts
2021-01-19 04:55:26 -0500
script type="text/javascript">
var zhText = "测试百度文字转语音接口 - 卡卡测速网 www.webkaka.com";
zhText = encodeURI(zhText);
document.write("");
script type="text/javascript">
var zhText = "测试百度文字转语音接口 - 卡卡测速网 www.webkaka.com";
zhText = encodeURI(zhText);
document.write("<audio autoplay=\"autoplay\">");
document.write("<source src=\"
http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=2&text="+ zhText +"\" type=\"audio/mpeg\">");
document.write("<embed height=\"0\" width=\"0\" src=\"
http://tts.baidu.com/text2audio?lan=zh&ie=UTF-8&spd=2&text="+ zhText +"\">");
document.write("</audio>");
</script>
----Comments(1)----
@yucho |
@ at 2021-01-20 07:58:
。。。。。。
Back to home
Subscribe |
Register |
Login
| N