代码如下!兼容IE
// JavaScript Documentfunction autoPlay(){//自动播放 var myAuto = document.getElementById('myaudio'); myAuto.src = '/media/v2/sss.mp3';//MP3路径 myAuto.play();}function pausePlay(){//暂停播放 var myAuto = document.getElementById('myaudio'); myAuto.pause(); }function createAuto(){ var _id = $("#audio"); if (window.applicationCache) { _id.html(' ') } else { _id.html('