[Icecast] mediaplayer for icecast streams?
Thomas Jensen
lianergoist at vongriffen.dk
Thu Nov 23 07:25:41 UTC 2023
tor, 23 11 2023 kl. 00:14 +0000, skrev Weddle, Ben (Library):
> > Here's an example with vanilla JS (attached). I had a test file
> > lying
> > around and swapped your info in. You can change setInterval() to
> > fetch as often as you like (1000 = 1 second).
Thank you VERY much! It would have taken me days, if not weeks, to come
up with that solution. I haven't used javascript for 20 years or so...
For some odd reason it's not working when I put the script online.
This works fine:
file:///home/thomas/nowPlaying.html
but this return "Program Name Not Available":
https://horsens-garage.rocks/nowPlaying.html
Strange!
Well, I am sure I'll find a solution.
Thanks again!
--
Thomas Jensen, Horsens
More information about the Icecast
mailing list