News for hackers. Stuff that matters.
Re:Camptown – HTML-based audio player by Darky on Monday October 30, 2023 @06:52AM (#38067829)
You should add a demo url so that we can see how it looks!
Re:Camptown – HTML-based audio player by genericacct on Monday October 30, 2023 @07:17AM (#38067980)
Came here to say the same!
Re:Camptown – HTML-based audio player by segasuperstar on Monday October 30, 2023 @07:17AM (#38067977)
Yeah we need a demo!
Re:Camptown – HTML-based audio player by mg on Monday October 30, 2023 @07:22AM (#38068004)
Since there is no demo and the repo looks super barebones (a loop which templates a list of mp3s in a directory?), do the upvotes mean that there is demand for an HTML based audio player?

What features would everybody want from such a player?

Re:Camptown – HTML-based audio player by joshspankit on Monday October 30, 2023 @09:01AM (#38068965)
Also my question.

Maybe it’s because it focuses on semantic HTML?

Re:Camptown – HTML-based audio player by genericacct on Monday October 30, 2023 @10:10AM (#38069663)
i am currently using a very rudimentary player that is extremely lightweight, vanilla js, supports basic multi-room (multi-device, i.e. pick a track on your phone and listen to it from the tv) and defaults to repeat 1 mode. I want it to run without issues on old phones so i can just hook one up to the stereo. Considering adding drag and drop so i can listen to local tracks as well

(you clearly need some sort of server to do this, i am using mqtt because that's what i had laying around, but maybe this could be feasible with modern browser features skipping an external server?)

Re:Camptown – HTML-based audio player by joshspankit on Tuesday October 31, 2023 @08:49AM (#38083994)
You could use websockets, but MQTT is a great and robust option
Re:Camptown – HTML-based audio player by jareklupinski on Monday October 30, 2023 @10:42AM (#38070023)
one of the first pages i ever put on the internet was a flash-based mp3 player with an iframe populated by a php script that scraped my local hard drive at home

loved showing off my music library on school computers, and a couple friends asked for the code to build/remix their own

Re:Camptown – HTML-based audio player by meatjuice on Monday October 30, 2023 @09:22AM (#38069155)
No screenshots, no description.