ie&chrome播放wav

html


<bgsound id='wav_ie' src="" loop=1></loop> 
<object id='wav_chrome' width="0px" height="0px" type="audio/x-wav" data=""></object> 

js


function play(){  
    $('#wav_ie').attr("src","asd.wav");  
    $('#wav_chrome').attr("data","asd.wav");
}
function stop(){  
    $('#wav_ie').attr("src","");  
    $('#wav_chrome').attr("data","");
}



Last modification:January 1st, 1970 at 08:00 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment