AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA[重复]

问题描述 投票:0回答:1

啊啊啊啊啊啊啊啊啊啊啊啊啊

javascript dom html5-audio
1个回答
0
投票
//// get current time 
myPlayer.addEventListener("timeupdate", function(){
    myRange.value  = myPlayer.currentTime;
    tt = "0";
    var Amin = Math.floor(myPlayer.currentTime/60);

    var Asec = Math.floor(myPlayer.currentTime - Amin * 60);

    if(Asec < 10){
        Asec = "0" + Asec;
    }
    if(Amin > 10){
        tt="";
    }
    currenttime.innerHTML = tt+Amin+":"+Asec;
});
© www.soinside.com 2019 - 2024. All rights reserved.