This is a HTML music player that combines HTML and JQuery to give you a light weight music player which you can use from your desktop.
- From the homepage click on the image of your favourite artist as seen in the image below.
- Weldone, you've navigated to your favourite artist music page.
- Simply click on the song you want to play
- To play the next song simply click on the double right arrow as shown in the image below.
- To play the previous song simply click on the double left arrow as shown in the image below.
-
Download A cover photo for the artist you want to add and save it in /Images.
-
Download/copy the music you want to play and paste them in /Music/YourArtist
-
Find Home.html and edit it in your favourite text editor/IDE.
-
Insert the following code under
-
Create a new file named after the artist you're going to add e.g. yourartist.html
-
Copy all the code from BenHoward.html and paste it in yourartist.html
-
under '' (line 32) (according to BenHoward.html) replace the song details with the details of your artists song in the format seen below:
` Your Artist The Song The Album
` -
Scroll down to line 162 (according to BenHoward.html) and replace the image path to the path of your artists image, example shown below:
var imagesrc1= './Images/YourArtistImage.jpg';
-
Scroll down to line 165 (according to BenHoward.html) and replace the paths of the song and the name of the song with your artist songs path and song names as seen in the example below:
`{"song": path+'Your Artist Album/Song1.mp3', "name": "Your Artist - Song1"},
{"song": path+'Your Artist Album/Song2.mp3', "name": "Your Artist - Song2"}`
-
Scrool down to line 187 (according to BenHoward.html) and replace the image.src of the songs if needed, example:
image.src=imagesrc1;