New course! Every coder should learn Generative AI!
Try a free lesson+ 11
To be able to play songs on your webpages, you'd have to upload them on a cloud hosting platform like Dropbox or Google Drive, and then link it to your webpage. Here's a guide for uploading content using Dropbox:
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
For Drive, it's similar, except if the sharing link looks likes this:
https://drive.google.com/file/d/XXXXXXXXXXXXXXXXXX/view?usp=drivesdk
or this:
https://drive.google.com/open?id=XXXXXXXXXXXXXXXXXX
we'd need to change it to:
http://drive.google.com/uc?id=XXXXXXXXXXXXXXXXXX
where XXXXXXXXXXXXXXXXXX is the id of our file.