前端页面中语音提示

<audio id="failSound" >
<source src='' type='audio/mp3'>
</audio>
 
<script>
    var video = document.getElementById("failSound");
    video.src="capi/number/store_error.mp3";
    video.play();
</script>
 
posted @ 2018-02-07 17:37  tatasix  阅读(1771)  评论(0编辑  收藏  举报