Entrance Chat Gallery Guilds Search Everyone Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
December 18, 2025 - @519.80 (what is this?)
Activity rating: Three Stars Posts & Arts: 26/1k.beats Unread Topics | Unread Replies | My Stuff | Random Topic | Recent Posts Start New Topic  Submit Art
News: :happy:  :pc: There are community newsletters here! :pc: :happy: Guild Events: Find A Fungus Fall

+  MelonLand Forum
|-+  World Wild Web
| |-+  ☆ ∙ Web Projects
| | |-+  completely locally hosted music player widget!!


« previous next »
Pages: [1] Print
Author Topic: completely locally hosted music player widget!!  (Read 1333 times)
elsieee
Casual Poster ⚓︎
*
View Profile WWWArt


tu stultus es
⛺︎ My Room
StatusCafe: elsieee
iMood: elsieee

Artifacts:
Joined 2025!
« on: August 16, 2025 @817.05 »

Hey guys!

The story began when I saw someone with the wikiplayer widget on reddit and I thought that was just SO COOL and i want to get that on my neocities site too. To my disappointment, the widget somehow refused to work. But at that point I was already hard set on the idea of having a music widget to my website, and in the spirit of learning coding, I decided to build my own from scratch.



here it is! it's got all the basic things a music player should have and a drop down menu to choose songs from!

If you want to add this to your site too, or if you wanna contribute to it (cuz the code is still kinda scuffed), here's the github repo for it. if you use it, i'd appreciate it if you throw me a lil credit :)

Btw, the github repo also includes five alternative preset looks for your player! enjoy  :4u:

I do have to note that, while the design and logic of the project is mine, and i coded most parts myself, I used a bit of AI for debugging purposes (im still a coding newbie). If you're a "no AI nomatter what" person, I apologize. I am aware of the impact, both bad and good, of AI, and I have my own thoughts on it. feel free to discuss with me about it but let's not turn this topic into an AI debate. Thanks!
« Last Edit: August 17, 2025 @343.74 by elsieee » Logged

woah I don't have a personal quote yet!!

elsieee
Casual Poster ⚓︎
*
View Profile WWWArt


tu stultus es
⛺︎ My Room
StatusCafe: elsieee
iMood: elsieee

Artifacts:
Joined 2025!
« Reply #1 on: August 19, 2025 @436.12 »


Hey guys! I have had some reddit folks lmk that they don't know how to download the files for the music player. SO to make downloading the files easier, I've created a release on the repo so you can download everything at once (yeah i just learned i'm new to actually doing things on github lmao)
So if you think downloading individual raw files is way too annoying, i've linked the download link to readme.md!

alternatively, i can just link the release here: https://github.com/elsieeeyjd/music-player-bar/releases/tag/v1.0.0
Logged

woah I don't have a personal quote yet!!

skigo
Newbie ⚓︎
*
View Profile WWW


the guy you've ever seen
⛺︎ My Room
Itch.io: My Games

Guild Memberships:
Artifacts:
Great Posts PacmanJoined 2025!
« Reply #2 on: November 04, 2025 @108.75 »

this is really cool! I was just looking for something similar to this, and was just about to start coding one myself :grin:

one quick question about the script: I see that there's a section to set the rootPath relative to the current path, and it currently requires you to specify every site page the player could refer to the root from. would it not be possible to set rootPath like this instead?
Code
const rootPath = "https://sitename.neocities.org/";
that way, anyone adding the player to their own site would just need to add their url into the script, and wouldn't need to change anything if they add or rename a page.

I haven't downloaded the code yet to test it myself (and haven't done too much work with javascript specifically), so let me know if I'm off the mark :happy:
Logged

Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi