Open
Description
Thanks for the player!
I'd like to start playing from a particular position as soon as the player is ready but I had an issue where calling seek on a newly loaded player wasn't working. I found I had to delay the seek to give the player time to load enough audio to get a duration value e.g.
let ss = setInterval(() => {
if(player.duration > 0) {
clearInterval(ss);
player.seek(lastPlayTimeSec);
}
},500);
Could an additional seek
property be added to TAudio
to specify the start position?
Activity