作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

音频

... ... @@ -199,7 +199,7 @@
audioTimer[key] = "audioTimer"+key;
if(key == index){
if(vo.currentTime == 0 || vo.currentTime == vo.duration){
console.log(audioTimer[key]);
console.log(audioTimer[key]+"开始");
vo.play();
var audioTime = parseInt(vo.duration);
audioTimer[key] = setInterval(function() {
... ... @@ -227,12 +227,12 @@
}
}, 1000);
}else{
console.log('暂停');
console.log(audioTimer[key]);
console.log(audioTimer[key]+"暂停");
vo.currentTime = 0;
vo.pause();
clearInterval(audioTimer[key])
clearInterval(audioTimer[key]);
audio.eq(key).parents('.detail_audio_wrap').find(".b3").siblings().removeClass("b_active");
console.log("???")
/*var highestIntervalId = setInterval(";");
console.log(highestIntervalId);
for (var i = 0 ; i < highestIntervalId ; i++) {
... ...