js win10语音朗读文字

目前测试系统为win10,放在网页中即可 

<script type="text/javascript">
	var msg = new SpeechSynthesisUtterance("xxx是个沙雕");
	window.speechSynthesis.speak(msg);
</script>

猜你喜欢

转载自blog.csdn.net/qq_36521848/article/details/106246094
今日推荐