react-audioplayer icon indicating copy to clipboard operation
react-audioplayer copied to clipboard

Manipulating the playlist

Open simonschllng opened this issue 7 years ago • 0 comments

In my scenario I fave different playlists. My approach is to keep the player mounted and just update the list prop. I expected this to be possible but its not. Issues I ran into:

  • Replacing the playlist before first playback: Player starts with the first track of the old list and continues with second of new list.
  • Replacing the playlist during playback: Player continues on track x of old list. After track end player goes to track x+1 of new list.
  • Replace a list of 3 with a list of 2 tracks while track 3 is being played: Player throws exception.

Would love if this scenario gets better support!

simonschllng avatar Oct 22 '17 22:10 simonschllng