Sencillo Flash Player para Shoutcast y Icecast

mayo 18, 2011 in Blog, ICEcast, Internet Radio, SHOUTcast by admin  |  No Comments

Muy sencillo solo copia el código en tu código html de tu website y agregue su IP address y el puerto «http://ipaddress:port» Para Icecast recuerde añadir el punto de montaje (mountpoint).

Shoutcast


<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
<a href="http://www.shoutcheap.com/shoutcast/">shoutcast</a>
<a href="http://www.shoutcheap.com/icecast/">icecast</a></div>
<script type="text/javascript" src="http://www.shoutcheap.com/castsupport/flashplayer/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("http://www.shoutcheap.com/flashplayer/player.swf",
"ply","200","20","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars",
"file=http://ipaddress:port/;stream.nsv&type=mp3&volume=50&autostart=true");
s1.write("container");
</script>

Icecast


<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.
<a href="http://www.shoutcheap.com/shoutcast/">shoutcast</a>
<a href="http://www.shoutcheap.com/icecast/">icecast</a></div>
<script type="text/javascript" src="http://www.shoutcheap.com/castsupport/flashplayer/swfobject.js"></script>
<script type='text/javascript'>
var s1 = new SWFObject('http://www.shoutcheap.com/flashplayer/player.swf',
'player',"200","20","9","#FFFFFF");
s1.addParam('allowfullscreen','true');
s1.addVariable('autostart','true');
s1.addParam('allowscriptaccess','always');
s1.addVariable('file','http://ipaddress:port/stream%3Ftype%3D.mp3');
s1.addVariable('duration','360000');
s1.addVariable('provider','video');
s1.write("container");
</script>

Vea nuestros planes y los beneficios que ofrecen para ayudarle a convertirse en un locutor.

Posted in Blog, ICEcast, Internet Radio, SHOUTcast and tagged , , , .

Comments are closed.