js播放音频 var mp3Url = "http://localhost:8084/image/audio/test.mp3"; var player = new Audio(mp3Url); player.play(); //播放 mp3这个音频对象 //暂停 //player.pause(); //player.load(); javascript 2023-05-24 37 点赞 0 评论 56 浏览