Comments (4)
@cudouny What you're saying is that every song in this playlist can be pushed in an arbitrary way ?
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.
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 ?
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.
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.
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.
@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
have fun! ๐ฏ
from react-music-player.
Related Issues (20)
- Play by index zero is not working
- Responsive is not working
- Is there a way to stop rotating image? HOT 1
- UNSAFE_componentWillReceiveProps error in strict mode HOT 1
- Songs restarting mid song
- AIFC Audio File Format Support
- How can i modify the default green color of the player?
- Property "remember: true," is not working.
- error - TypeError: _sortablejs.Swap is not a constructor HOT 4
- Mobile - only One UI Samsung - Need to touch multiple times to open main player from mini player
- Click delete audio lists, don't want to stop current playing track HOT 1
- ็งปๅจ็ซฏ้กต้ข้ณ้่ฐ่ๆฏๆ๏ผ
- ๅ็ๅฅๅ
- NextJS HOT 4
- Disable Drag and Drop on Playlist HOT 3
- Unable to install (npm & yarn) HOT 2
- Media session does not load image
- Got this error : Cannot set properties of null (setting 'Sortable1685030262830') TypeError: Cannot set properties of null (setting 'Sortable1685030262830') HOT 3
- error in next Js 13 HOT 3
- Giving a null issue onDestroy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-music-player.