HTML5 radio player

HTML5 is the latest version of Hypertext Markup Language, the code that describes web pages. It's actually three kinds of code: HTML, which provides the structure; Cascading Style Sheets (CSS), which take care of presentation; and JavaScript, which makes things happen.
All of the big name browsers - Internet Explorer, Firefox, Chrome, Safari and Opera, Mobile Safari and Android's browser, Blackberry - support HTML5.

Here is a an example of player code for your radio station:


<audio width="320" height="240" controls autoplay>
  <source src="http://YOUR_IP:PORT/;stream.mp3" type="audio/mp3">
  Your browser does not support the audio tag.
</audio>

Note:  Replace YOUR_IP:PORT with your radio station details for example : http://xltrax.com:8000/

Enjoy!
Var dette svaret til hjelp? 146 brukere syntes dette svaret var til hjelp

Relaterte artikler

Now playing script for Shoutcast

Just edit the config_radio.php and then upload it to your server along with the...

ShoutCast Now playing for Twitter

You can find the instructions here for inserting a #Nowplaying script on your twitter feed. This...