A modern web-based music player built using HTML, CSS, and JavaScript. It supports play, pause, next/previous tracks, volume control, playlist display, progress bar, and autoplay for an enhanced music experience.
✅ Play, Pause, Next, and Previous controls
✅ Display song title, artist, and cover art
✅ Playlist view with all available songs
✅ Progress bar with current time and duration
✅ Volume control for precise adjustments
✅ Autoplay option for continuous playback
✅ Responsive and modern UI
Open the index.html file in any modern web browser.
Use the play/pause, next, and previous buttons to control music.
Adjust the progress bar to seek within a song.
Use the volume slider to adjust sound level.
Toggle Autoplay to automatically play the next song.
Click on a song from the playlist to play it instantly.
Modern web browser (Chrome, Firefox, Edge, Safari)
No additional libraries needed – built with pure HTML, CSS, and JS
Music_Player_using_JavaScript/
├── index.html # Main HTML file
├── style.css # CSS file
├── script.js # Js file
├── img/ # Cover images for songs
│ ├── 1.png
│ ├── 2.png
│ └── ...
└── songs/ # Audio file
├── apna_bana_le.mp3
├── aaj_ki_raat.mp3
└── ...
Clone the repository:
git clone https://github.com/ayushteli123/Music_Player_using_JavaScript.git
Open the index.html file in any modern browser.
Enjoy the music and explore playlist features.
Ayush Teli 📧 ayushteli80@example.com
🌐 GitHub: https://github.com/ayushteli123
MIT License
Copyright (c) 2025 Ayush Teli
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.