Skip to content

Shuffling Playlist #142

Closed Answered by gilbarbara
jordanwmckee asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @jordanwmckee

There's no way to do this within the player since it uses the uris as the source of truth.

I thought about adding extra buttons, like queue and shuffle, in the UI refactor implemented a few weeks ago.
However, that would increase the bundle size and add complications a simple player shouldn't have to handle.

One option would be to accept custom components to use before the previous button or after the next button.
But the previous/next buttons render conditionally depending on the size of uris and offset, so layout shift could be problematic.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gilbarbara
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants