写了个音乐代码,希望它能将这个音乐循环播放,但是不知道为什么每次放完一便就停了,请求修改
<embed src="audio.mp3" align="center" border="0" width="1" height="1" width="100" autostart="true" loop="-1">
写了个音乐代码,希望它能将这个音乐循环播放,但是不知道为什么每次放完一便就停了,请求修改
<embed src="audio.mp3" align="center" border="0" width="1" height="1" width="100" autostart="true" loop="-1">
缓存audio吧,embed浏览器不兼容
<audio src="audio.mp3" controls="controls" autoplay="true" loop="true">
</audio>