We had an event called "Design Sprint" for which we need to set up internet radio for our site, after hours of time spent, fixed mind with "red 5", though there were many other options for internet radio like "icecast","sound cast".
But as we had already set up live streaming using red 5, went with red 5 to set up an internet radio, as well,
To set up internet radio, protocol : Real Time Messaging Protocol is being used (RTMP) was used by us, and believe most of the live streaming use this protocol 'RTMP'.
We needed player for it to play in the browser using "red 5",
so we used long tail video player, and as an addition a plugin - "audiolivestream-1" was used by us,
Below is the code to set up the internet radio front player :
<script type="text/javascript" src="http://www.experiencecommerce.com/audio/jwplayer.js"></script>
<section class="embedWidget" style="padding-left:13px;">
<h2>Oldies : EC Hammer </h2>
<div id="mediaplayer" ></div>
</section>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
"flashplayer": "http://www.experiencecommerce.com/audio/player.swf",
"id": "playerID",
"width": "300",
"height": "35",
"file": "stream1325084690928",
"streamer": "rtmp://postalz.com/oflaDemo",
"controlbar": "none",
"autostart": "true",
"screencolor": "0099FF",
"plugins": {
"audiolivestream-1": {
format: "Playing: %track",
buffer: "Buffering: %perc%",
backgroundCss: "gradient",
trackCss: "color: #fff; font-size: 11px;"
}
}
});
</script>
But as we had already set up live streaming using red 5, went with red 5 to set up an internet radio, as well,
To set up internet radio, protocol : Real Time Messaging Protocol is being used (RTMP) was used by us, and believe most of the live streaming use this protocol 'RTMP'.
We needed player for it to play in the browser using "red 5",
so we used long tail video player, and as an addition a plugin - "audiolivestream-1" was used by us,
Below is the code to set up the internet radio front player :
<script type="text/javascript" src="http://www.experiencecommerce.com/audio/jwplayer.js"></script>
<section class="embedWidget" style="padding-left:13px;">
<h2>Oldies : EC Hammer </h2>
<div id="mediaplayer" ></div>
</section>
<script type="text/javascript">
jwplayer("mediaplayer").setup({
"flashplayer": "http://www.experiencecommerce.com/audio/player.swf",
"id": "playerID",
"width": "300",
"height": "35",
"file": "stream1325084690928",
"streamer": "rtmp://postalz.com/oflaDemo",
"controlbar": "none",
"autostart": "true",
"screencolor": "0099FF",
"plugins": {
"audiolivestream-1": {
format: "Playing: %track",
buffer: "Buffering: %perc%",
backgroundCss: "gradient",
trackCss: "color: #fff; font-size: 11px;"
}
}
});
</script>