A music player using JavaScript is a web application designed to play audio files, typically a simple music player using JavaScript is a basic web application that allows users to play and pause audio tracks.
Play and pause music tracks. Display the current song title and artist. Previous and next track buttons.
To use the music player, follow these steps:
Installation: Clone this repository or download the source code to your local machine.
Add Music: Place your music files (MP3 format recommended) in the music folder within the project directory.
Update Playlist: Open the playlist.js file and add your songs to the playlist array. Each song should be an object with properties like title, artist, and file (the filename of the song in the music folder).
javascript (json):
let songs_list = [
{
name : 'Donu Donu',
Image : 'images/donu_donu.png',
Song : 'music/donu-donu.mp3',
Singer : 'Aniruth'
},
{
name : 'Love Story',
Image : 'images/taylor_swift_love_story.jpg',
Song : 'music/Taylor-Swift-Love-Story.mp3',
Singer : 'Taylor Swift'
},
{
name : 'Nejamellam',
Image : 'images/ethir.jpg',
Song : 'music/nejamela-maranthu-pochu.mp3',
Singer : 'Aniruth'
},
{
name : 'Wildest Dreams',
Image : 'images/wildest_dreams_taylor.jfif',
Song : 'music/Taylor-Swift-Wildest-Dreams.mp3',
Singer : 'Taylor Swift'
},
{
name : 'Mnneikal koothadum',
Image : 'images/minelkasl.jpg',
Song : 'music/minalkal-koothadum.mp3',
Singer : 'G.V. Prakash Kumar.'
}
]
To run the music player locally, follow these steps:
Clone the repository to your local machine using Git:
git clone https://github.com/your-username/music-player.git
