serveroffer.lt forum


Shoutcast HTML5 native audio player

Tutorials thread

Shoutcast HTML5 native audio player

Postby serveroffer » 2017 Mar 08, 19:20

Let's say you have shoutcast server running on server IP 127.0.0.1 and port 8000
You can use flowing code on your web page to play shoutcast radio
Code: Select all
<audio controls autoplay="autoplay">
<source src="http://127.0.0.1:8000/;stream.mp3" type="audio/mp3">Update your browser
</audio>
User avatar
serveroffer
Site Admin
 
Posts: 31
Joined: 2012 Jun 16, 18:31

Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron