Git Product home page Git Product logo

Comments (4)

lijinke666 avatar lijinke666 commented on May 25, 2024

@cudouny What you're saying is that every song in this playlist can be pushed in an arbitrary way ?
image

Then you want add a new Feature
audio list add a delete button , like click the button can remove current the audio ?

Let's say the second song is playing. then redux update or replace the audio lists .
Do you want to play the second song after the update?

or add a new api like audioDelete trriger after the remove.
like this ?

const options = {
   audioDelete(audio,currentPlayerId){
       audio.play(YOUR_WANT_TO_PLAY_ID)
  }
}

Or you can use pictures to show what you want new features

from react-music-player.

sulauka avatar sulauka commented on May 25, 2024

Hi @lijinke666, sorry for long response.

@cudouny What you're saying is that every song in this playlist can be pushed in an arbitrary way ?
image
I mean if you try to hold down click button, you can like, swap tracks in the playing queue.
For the feature with delete button behavior.
image
For example, it's just a feature when you need to remove some track from playing queue. If track that you currently playing is clicked to delete, you just remove this track from the queue and start playing next track, or nothing in case of empty playing queue.
Please, ask me any questions about this.
Thank you!

from react-music-player.

lijinke666 avatar lijinke666 commented on May 25, 2024

I know what you mean, you want the list to drag and drop or can delete it
That sounds good and I'll try it on a new branch
Thank you for your advice ๏ผš๏ผ‰

from react-music-player.

lijinke666 avatar lijinke666 commented on May 25, 2024

@cudouny Hi~ The branch feat-4.0.0
You have completed the features you want and are expected to be released tomorrow
Looking forward to your feedback and use
image

have fun! ๐Ÿ’ฏ

from react-music-player.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.