Question

http://u10.sky.fm/ displays the audio URLs and types. It is powered by www.icecast.org.

I have the following code snippets HTML5

<audio controls="controls" autoplay="autoplay">
  <source src="http://u10.sky.fm/altrock" type="audio/mpeg" />
</audio>

Unfortunately, it does not work. I am using Chrome. What did I do wrong?

Any help is appreciated. Thanks in advance for your help.

EDIT: Updated code below still does not work.

<audio controls="controls" autoplay="autoplay">
  <source src="http://u10.sky.fm:80/sky_altrock" />
</audio>
Was it helpful?

Solution

check the contents of the m3u file. use this as src: http://u10.sky.fm:80/sky_altrock

OTHER TIPS

Have you tried adding semicolen at the end of stream url to make the shoutcast play in html5 player:

<!DOCTYPE html>
<audio controls src="http://baldyradio.com:8010/;"></audio>

And , i noticed the stream url you mentioned is not working now. try some good stream url.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top