+2 Shuffle functionality: the songs will play randomly instead of in order.+1 Repeat mode button: when activated, the current song will repeat forever until deativated.+1 Implement implement volume control: two buttons, one to rise and one to lower the volume.The following features are not needed for the final solution, but you can develop them if you feel confident enough: Make sure to have only one tag on the entire project, use ref to change its src url. ![]() Use the react ref attribute to get the audio tag from the DOM.When the user clicks on the "next" button the player should start playing the next song from the list, if there is no next song then it should start over by playing the first song of the list, the same applies for the "previous" button.When the user clicks on a song, the player it must start playing it. ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |