jquery播放mp3

$("button").on("click",function(){

     $('embed').remove();
           $('body').append('<embed src="../../../sound/hit.mp3" autostart="true" hidden="true" loop="false">');

})

posted @ 2019-08-01 17:05  武卡卡  阅读(1779)  评论(0编辑  收藏  举报