A simple web-based MP3 player that allows you to play, pause, and control the playback of tracks in a selected folder. It features a fixed-height scrollable playlist, playback controls, and an audio visualizer.
- Play, pause, and control MP3 playback
- Display a fixed-height scrollable playlist
- Show an audio visualizer while playing music
- Display the current playing track using a marquee
-
Clone the repository:
git clone https://github.com/your-username/mp3-player.git cd mp3-player
-
Install dependencies:
npm intall
-
Create a
music
folder in the root directory of the project and place your MP3 files there. Alternatively, you can specify a different folder when starting the server. -
Start the server:
node server.js
If you want to use a different folder for MP3 files, provide the folder path as an argument:
node server.js /path/to/your/mp3/folder
- Open your browser and navigate to
http://localhost:3000
to use the MP3 player.
This project is licensed under the MIT License.