News for hackers. Stuff that matters.
Re:Show HN: Vusic – A Simple Web Player for Apple Music Buil... by philips4350 on Thursday January 02, 2020 @12:49AM (#21933289)
Now that you point it out it does look kind of weird... Maybe be i should create a new component for the play progress which increments in very tiny scale. Thank you for the feedback!
Re:Show HN: Vusic – A Simple Web Player for Apple Music Buil... by ch_sm on Thursday January 02, 2020 @12:03PM (#21937127)
The best way I’ve found is to update the DOM in an requestAnimationFrame loop, polling the Audio Element’s currentTime, since its events don’t fire reliably.