Skip to content
Sign upLog in
← Back to Community

Music Player

Profile icon
Jeydin21

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!

Voters
Profile icon
danieldoering
Profile icon
AlexMarcial
Profile icon
AlandllonOlivei
Profile icon
Fantastic-mask
Profile icon
Sp0conaNqqtalka
Profile icon
rbaqai
Profile icon
DAVID7299947
Profile icon
FbTo
Profile icon
cdCreepArghhh
Profile icon
ReubenArellano
Comments
hotnewtop
Profile icon
Jeydin21

Wow, we're in a Repl.it Newsletter!

Thank you to everyone that liked this project!
You can view the newsletter here. Very cool, and unexpected!

Profile icon
JackLesher

@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!

Profile icon
Jeydin21

@JackLesher
Thank you!

Profile icon
CoolCoderSJ

How has this gotten only 22 upvotes?

Profile icon
Jeydin21
Profile icon
CoolCoderSJ

The UI is beautiful ....

Profile icon
Jeydin21

@CoolCoderSJ
Thank you :D

Profile icon
TheOceanFace

cool!

Profile icon
Jeydin21
Profile icon
TANMAYBAGADIA

cool dude ; nice work

Profile icon
Jeydin21

@TANMAYBAGADIA
Thank you!

Profile icon
TANMAYBAGADIA

@Jeydin21
welcome , i recently posted one thing if u have time plz check it

Profile icon
elipie

should put first downloaded song: never gonna give you up

Profile icon
Jeydin21

@elipie
AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAAAA no that's mean ;-;

Profile icon
elipie

@Jeydin21
imo its not mean, its a rickroll

Profile icon
Jeydin21

@elipie
Maybe I should add it then :O

Profile icon
elipie

@Jeydin21
yes plz :D

Profile icon
Jeydin21

@elipie
I can't :(
I'm doing Social Studies homework right now and I can't do it :(

Profile icon
elipie
Profile icon
Jeydin21

@elipie
:((((((((((((((((

Profile icon
RayhanADev

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.

Profile icon
Jeydin21

@RayhanADev
Thanks for upvoting!

Profile icon
Gartons

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.

Profile icon
ridoskon

This is too complicated for me, no other service for such ideas?

Profile icon
Jeydin21
Profile icon
mihamilton

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

Profile icon
hiringinmates

tis is cool

Profile icon
XxMustardCatxX

Very nice, 1 suggestion, a youtube API scraper instead of just the same songs?

Profile icon
XxMustardCatxX

@XxMustardCatxX
also you get an upvote! :)

Profile icon
Kookiez

cool

Profile icon
Jeydin21
Profile icon
[deleted]

You could try making a Express Server for the backend with LowDB to add music etc...

Everything asides. Very cool project!

Profile icon
combusken

What if you take it a step further... Being able to upload your own music!!!

BTW. Great project!

Profile icon
Jeydin21

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.