Rabu, 02 April 2014

Simpel Player Untuk Radio Online Anda



Sangat simpel untuk menambahkan player ke website anda hanya dengan memasukkan ip dan port server streaming radio anda, maka player sudah bisa play di website anda ”http://ipaddress:port“ perlu di ingat untuk Icecast add  mount point anda.

Shoutcast

    <div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.

    </div>

    <script type="text/javascript" src="http://www.shoutcheap.com/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.

    </div>

    <script type="text/javascript" src="http://www.shoutcheap.com/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>

Tulisan yang kuning adalah ip dan port radio online anda
Load disqus comments

0 komentar