musicSeekTo: function(value){this.audio.currentTime = this.audio.duration*value; }, musicVoiceSeekTo: function(value){this.audio.volume = value; }
改为:
musicSeekTo: function(value){ if(isNaN(value)) return; this.audio.currentTime = this.audio.duration*value; }, musicVoiceSeekTo: function(value){ if(isNaN(value)) return; if(value >= 0 && value <= 1) return; this.audio.volume = value; }