Re: mediaplayer for icecast streams?
"Weddle, Ben (Library)" <[email protected]> Thu, 23 Nov 2023 16:01:04 +0000
| Newsgroups | gmane.comp.audio.icecast.general |
|---|---|
| Message-ID | <SA0PR09MB6043E042434D6399EF21BFE998B9A@SA0PR09MB6043.namprd09.prod.outlook.com> |
You are welcome! Thank the Icecast devs who make it easy to use! Ben Weddle ________________________________ From: Icecast <[email protected]> on behalf of Thomas Jensen <[email protected]> Sent: Thursday, November 23, 2023 1:26 AM To: Icecast streaming server user discussions <[email protected]> Subject: Re: [Icecast] mediaplayer for icecast streams? Attention: This email originated from a source external to Metro Government. Please exercise caution when opening any attachments or links from external sources. 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://cas5-0-urlprotect.trendmicro.com:443/wis/clicktime/v1/query?url=https%3a%2f%2fhorsens%2dgarage.rocks%2fnowPlaying.html&umid=d8e2adad-b55d-4a0f-84e9-4dfca1f5a69b&auth=1a6d21fc0f08666d9d61586860ead8e0225a9cfa-13cf6936a5bed173d0ac53bc79b24732afbd9cf2 Strange! Well, I am sure I'll find a solution. Thanks again! -- Thomas Jensen, Horsens _______________________________________________ Icecast mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast _______________________________________________ Icecast mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast