Re: mediaplayer for icecast streams?
Thomas Jensen <[email protected]> Thu, 23 Nov 2023 08:25:41 +0100
| Newsgroups | gmane.comp.audio.icecast.general |
|---|---|
| Message-ID | <[email protected]> |
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