View Single Post
Old 24th April 2018, 12:49   #4
Jannes01
Junior Member
 
Join Date: Aug 2017
Posts: 11
really no one can help me with this?
I will try to explain it better...
On the shoutcast Stream Status page, there is an html5 audio player...
when you look at the source code, you will see at the
<source src="/stream?type=http&;nocache=Randomnumber
I really wanted to know how this is being done, the random number changes every time you refresh so it must being done something like Math.floor(Math.random() * 1000000)
Can this be done in the <audio> tag or must it be done with JS?
In the JS source i dont see where this must be done.
Jannes01 is offline   Reply With Quote