I want to have a html5 audio player that plays a shoutcast stream with no cache. I've tried the answer given here Link and tried to load the stream with a php file,
But it doesn't work for me, what am i doing wrong? So the script i use is below...
<audio id="audio" autoplay="" controls="" src="<shoutcast ip>+<port>/stream.mp3" type="audio/mpeg"></audio>
and script:
document.getElementById('audio').addEventListener("ended",function() {
this.src = "<shoutcast ip>+<port>/stream.mp3?nocache="+new Date().getTime();
this.play();
});