function AudioPerform() { var ua = navigator.userAgent.toLowerCase(); var audiopath = "$!{TempletPath}images/ring.wav"; if (ua.match(/msie ([\d.]+)/)) { jQuery('#alert_sound').html('<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C
音乐的自动播放属性,这里也介绍一下: <audio controls="controls" autoplay="autoplay"> <source src="song.ogg" type="audio/ogg" /> <source src="song.mp3" type="audio/mpeg" /> Your browser does not s