Music Player
Music Player is a somewhat simple project that allows you to play music in your browser or on your phone in the background!
How To Use
It's simple! All you have to do is press that giant play button and you're off! To switch between songs, just press the right or left arrow to do so! Or you can just wait for the song to end, and it'll just automatically go to the next song.
Adjustments
You can edit what songs will play in the folder labeled mp3
. You can change the covers for the songs in covers
. To add a song use this format inside of script.js
:
{ name: "put-the-song-name-here", artist: "put-the-artist-name-here", cover: "covers/put-a-cover-file-here", source: "mp3/put-an-audio-file-here", favorited: false }
Questions and Support
If you have a question about something, please ask it in the comments section! Or, if you want to tell me how good my project is, you can say that too!
And that's all! Thanks for checking out my project. Feel free to fork this project and make it better, or just fork it to listen to your own music on your own URL. I won't judge ;)
If you enjoyed this project, please upvote this project for more projects like this, but better!
This is too complicated for me, no other service for such ideas?
@ridoskon
Nothing complicated. There are music distribution platforms https://show4me.com/ where you can be a streamer and share your music developments. It's easy. Streamers are the ones who make music and get paid. And what you're used to listening to in apps is a stupid subscription. Whereas in the past you could only stream music through paid services like Tunecore, CD Baby, and DistroKid, now you can use one of the free distributors. A separate quest is to approve the artwork: you can't upload an image if it doesn't have the band name and release, you can't upload the artwork if you didn't use a good quality photo for it, and so on. Well, if you're not a pro, just enjoy the music.
tis is cool
How has this gotten only 22 upvotes?
The UI is beautiful ....
@CoolCoderSJ Thank you :D
Very nice, 1 suggestion, a youtube API scraper instead of just the same songs?
@XxMustardCatxX also you get an upvote! :)
You could try making a Express Server for the backend with LowDB to add music etc...
Everything asides. Very cool project!
@Jeydin21 Good for you! My project was in a Repl.it newsletter once, during the Multi-player coding thing. Came in 3rd place! But enough about me, let's just take this moment to celebrate how far you've come!
@JackLesher Thank you!
cool dude ; nice work
@TANMAYBAGADIA Thank you!
@Jeydin21 welcome , i recently posted one thing if u have time plz check it
should put first downloaded song: never gonna give you up
What if you take it a step further... Being able to upload your own music!!!
BTW. Great project!
Nice! I think I’m just gonna, yep, upvoted!
Also this is great for me to learn how to add music into my project for the #BramJam xD.
@RayhanADev Thanks for upvoting!
Oh yeah, I forgot to mention, for the type of music files, all file types are supported as long as your browser can support it! For this post I used mp3 because most browsers support it.
Music takes an important place in my life. It inspires, motivates and gives me positive energy. I listen song almost every time, especially while studying, working, cleaning etc. I have been using the https://www.mymp3.red/ server lately. Moreover sometimes I can not express my attitude towards something or someone. I realize the exact feeling which I could not express after listening to the track. My headphones broke last week. I get used to the fact that they are always with me. That’s why I got depressed.