Open viveKing21 opened 3 years ago
Current time (sec) value isn't accurate, some times it goes more than the duration time (sec)
example :
mp3._duration or mp3.getDuration() = 263.203000005
setInterval(() => { mp3.getCurrentTime((sec) => { console.log(sec) //after 263 passed it goes to 264.150 }) }, 1000)
is there any event like onCurrentTimeChange on this lib??
or how can i fix this??
hi, did u solved this?
@zmxv plz double check this issue bro
Current time (sec) value isn't accurate, some times it goes more than the duration time (sec)
example :
mp3._duration or mp3.getDuration() = 263.203000005
setInterval(() => { mp3.getCurrentTime((sec) => { console.log(sec) //after 263 passed it goes to 264.150 }) }, 1000)
is there any event like onCurrentTimeChange on this lib??
or how can i fix this??