Skip to content

kenyansa/music_player

Repository files navigation

music player

version 1.0.0

Simple msuic app with animations

Contributors

The project was developed by Justine Kenyansa.

🔦 Description


The app allows you to play music, move to the next item seamlessly.
Currently, it has several limitations such as adding your own files.
The song duration is displayed for each song and the current time while playing.

📌 Installation Requirements

The app does not need any installations to work.

Known Bugs


1. The display of total time for each song sometimes doesn't display correctly.
The NaN is sometimes displayed because in development, the duration property of the HTMLAudioElement represents the length of the audio in seconds. However, it may take some time for the audio to load and for the duration to be available. Trying to access it immediately after setting the src of the music element, it might still be undefined, resulting in NaN
2. The toggle functionality for play and pause (icons) is yet to be improved
3. Sometimes, you have to click twice for the song to start playing.
These limitaitons will be addressed shortly.

📌 BDD

You simply click the play button and the songs start playing. It is expected that the playlist should run to the very last item continuously if not paused.
On pressing the pause/play button, the song stops playing.
Forward and backward buttons are also working very well.
The slider bar is also working as expected. The song jumps to the min and second and desired.

💻 Technologies Used

The project used HTML, css, and Vanilla JS.

📞 Support and contact details

Should you have any suggestions and ideas on how to improve the app, feel free to contact me through kenyansajustine@gmail.com.
Alternatively, reach me through: +254 70440 3225.
Code contributions are also welcome

License

Copyright (c) {2023} {Kentech Products} Licensed under the MIT License.