Creating a music-playing website is easier using Spotify.
You can visit Spotify and with its help create sites like this:

Step 1: Open Spotify Step 2: Choose any Song Step 3: Click on three dots or option of the song Step 4: Choose the Share option
Step 5: Choose the embedded track Step 6: Adjust according to your liking and copy the code
Step 7: Paste the copied code inside the body tag.
It's as simple as that!!

