rwieruch / favesound-redux

🎶 A SoundCloud Client in React + Redux running in production. Live Demo and Source Code to explore React + Redux as a beginner.
http://www.robinwieruch.de/the-soundcloud-client-in-react-redux/
1.59k stars 249 forks source link

Feature Proposal: Player with Duration Bar #3

Closed rwieruch closed 7 years ago

rwieruch commented 8 years ago

At this time, once you want to listen to a track, you only get to see a backward, a play/pause and a forward button in the player.

screen shot 2016-07-08 at 17 39 43

But most of the audio player come with a progress bar and a current time to indicate the playback time duration.

screen shot 2016-07-09 at 12 45 29

It would be cool to have something like this for FaveSound as well! One could implement it in different ways. Either you use a stateful component within the player which keeps track of the duration time of the track or you save that state to the global redux state. I would recommend to do the former, otherwise you will end up with a lot recurring actions (like every 5 seconds?).

C-Rodg commented 7 years ago

I've created a simple duration bar for the application. PR #15

rwieruch commented 7 years ago

Such a great addition, thanks @C-Rodg 👍