Skip to content

CallumBrankin/HTMLMusicPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 

Repository files navigation

HTML Music Player

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.

Navigating and using the HTML Player

How To Navigate To Your Favourite Artist Music Page

  1. From the homepage click on the image of your favourite artist as seen in the image below.

alt tag

  1. Weldone, you've navigated to your favourite artist music page.

alt tag

How To Play Music

  1. Simply click on the song you want to play

alt tag

How To Play The Next And Previous Song

  1. To play the next song simply click on the double right arrow as shown in the image below.

alt tag

  1. To play the previous song simply click on the double left arrow as shown in the image below.

alt tag

Modifying The HTML Music Player To Play Your Own Songs

  1. Download A cover photo for the artist you want to add and save it in /Images.

  2. Download/copy the music you want to play and paste them in /Music/YourArtist

  3. Find Home.html and edit it in your favourite text editor/IDE.

  4. Insert the following code under

    `

    Your Artist

    `
  5. Create a new file named after the artist you're going to add e.g. yourartist.html

  6. Copy all the code from BenHoward.html and paste it in yourartist.html

  7. 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

    `
  8. 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';

  9. 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"}`

  10. Scrool down to line 187 (according to BenHoward.html) and replace the image.src of the songs if needed, example:

    image.src=imagesrc1;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published