justinmc / react-audio-player

A simple React wrapper on the HTML5 audio tag
MIT License
587 stars 103 forks source link

'Seek' not working #36

Closed christianpbrink closed 7 years ago

christianpbrink commented 7 years ago

I'm new to the project and am finding that seeking by dragging the progress indicator on the progress bar does nothing. If the audio is paused, the indicator will stay where I drop it, but only until I hit play, at which point it'll snap back to wherever it was before I dragged. If I drag while the audio is playing, the indicator just jumps snaps back right away.

I've tried with m4a, ogg, and webm files. Didn't seem to make any difference.

Any thoughts much appreciated!

christianpbrink commented 7 years ago

Was a problem with my server -- didn't accept byte range requests.

justinmc commented 7 years ago

@christianpbrink Ah that's pretty subtle, I'm glad you figured it out. Thanks for opening this issue anyway, maybe it will save someone else with the same bug a headache.