justinmc / react-audio-player

A simple React wrapper on the HTML5 audio tag
MIT License
589 stars 104 forks source link

How do you set the current time? #166

Closed johnnyshankman closed 11 months ago

johnnyshankman commented 1 year ago

Say I want to push the start time 60 seconds in. How do I do that?

Seems my ref to the component has no currentTime to set.

johnnyshankman commented 11 months ago

Opted for a controlled audio tag with a sep UX for this reason.