I think I found a BUG, Lyrics disappear😭
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Recently I add APlayer into my vue project and I put a list with 7 songs altogether
I'd like to change the song I would hear when opening the site according to today's date
I used api `ap.list.switch(new Date().getDay());` to make it come true
But here is the thing, if the api **switch** were used, lyrics of the first song would disappear
I have figure out a temporary solution. Add an extra song to the list and use api to delete the first one
`ap.pause();
ap.list.switch(new Date().getDay());
ap.list.remove(0);
ap.list.switch(new Date().getDay());
ap.play();`
But I think it isn't how it should be. I would appreciate it if anyone helps me to solve this problem
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.