I need some help for my internet radio, It will take some time to play every time i refresh the page. How can i make it play continuously even i refresh it??
thankyou this is my code:
<div class="col c2">
<h2><span>Live Streaming</span> </h2>
<div id="container">
<a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
<a href="http://www.shouthost.com/">Shoutcast & Icecast Server</a>
</div>
<script type="text/javascript" src="http://www.shouthost.com/freeflashplayer/player/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject('http://www.shouthost.com/freeflashplayer/player/player.swf',
'player',"340","32","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","skin=http://www.shouthost.com/freeflashplayer/skins/modieus.swf&title=Live Stream&type=sound&file=http://78.129.163.82:10729/;stream.mp3&13202692901&duration=99999&id=scplayer&autostart=true");
s1.write("container");
</script>
<script type="text/javascript" src="https://hosted.muses.org/mrp.js"></script>
<script type="text/javascript">
MRP.insert({
'url':'http://78.129.163.82:10729',
'codec':'mp3',
'volume':100,
'autoplay':true,
'buffering':5,
'title':'RADIO APOSTLE 102.6 MHZ',
'bgcolor':'#12880C',
'skin':'simple-red',
'width':300,
'height':122
});
</script>
</div>
You can not, unless you do the refresh of the page via ajax and load the content into the page that way.
Why are you refreshing the page?
Basically you have three options: