Powered by Blogger.

blog එකට online radio ගැජට් එකක්...


සමහර website වල ඩකල අතිනෙ site එකට යනකොටම වගේ radio channel play වෙන්න හදලා තියෙනවා. ඉතින් ඔන්න ගෙනාවා ඒක කරන විදිය ගැන.

මම දැන් වැඩේ කරන විදිය කියලා දෙන්නම්කො..


මුලින්ම blogger ගිහින් layer out ගන්න.




දැන් HTML/JavaScript open කරගන්න.


දැන් title සදහා ඔබ කැමති නමක් දාලා මේ විදියට code එක copy කරගන්න.


දැන් save කරගන්න මම දැන් දෙන්නම් මේකට ඕන codes ටික ...

HIRU FM

<div id="player">
    <!--radio starts here-->
    <div id="controlers">
    <center>
    <!--<div id="radio_left">
    <img src="images/player_off.png" width="22" height="33" alt="Click to stop" title="Click to stop" onclick="javascript: player_stop();"/>
    </div> -->
    <div id="radio_right" style="width:189px; height:62px; border-radius:5px; overflow:hidden; padding:5px; background:#FC0; border:1px solid #093;">
 
    <!-- BEGINS: AUTO-GENERATED Museter unlimited SHOUTcast Hosting Museter.com plans start at $6.95 CODE visit http://www.museter.com -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="62" bgcolor="#FFFFFF">
<param name="movie" value="http://www.hirufm.lk/ffmp3-config.swf" />
<param name="flashvars" value="url=http://188.138.75.83:8010/;&amp;lang=en&amp;codec=mp3&amp;volume=65&amp;introurl=&amp;autoplay=true&amp;traking=true&amp;jsevents=true&amp;buffering=5&amp;skin=http://www.hirufm.lk/ffmp3-tweety.xml&amp;title=HIRU%20FM&amp;welcome=WELCOME%20TO HIRU FM" />
<param name="wmode" value="window" />
<param name="allowscriptaccess" value="always" />
<param name="scale" value="noscale" />
<embed src="http://www.hirufm.lk/ffmp3-config.swf" flashvars="url=http://188.138.75.83:8010/;&amp;lang=en&amp;codec=mp3&amp;volume=65&amp;introurl=&amp;autoplay=true&amp;traking=true&amp;jsevents=true&amp;buffering=5&amp;skin=http://www.hirufm.lk/ffmp3-tweety.xml&amp;title=HIRU%20FM&amp;welcome=WELCOME%20TO HIRU FM" width="189" scale="noscale" height="62" wmode="window" bgcolor="#FFFFFF" allowscriptaccess="always" type="application/x-shockwave-flash">
</embed></object>
<!-- ENDS: AUTO-GENERATED Museter unlimited SHOUTcast Hosting Museter.com plans start at $6.95 CODE visit http://www.museter.com-->



 
 
      <!--<div id="volume_control">
        <object id="hirufmplayer" type="application/x-shockwave-flash" data="player_mp3_maxi.swf" width="90" height="36">
          <param name="movie" value="player_mp3_maxi.swf" />
          <param name="bgcolor" value="#f7cc28" />
          <param name="autoplay" value="1" />
          <param name="wmode" value="transparent" />
          <param name="FlashVars" value="mp3=http%3A//188.138.95.120%3A8010/%3B&amp;width=90&amp;height=36&amp;autoplay=1&amp;showvolume=1&amp;volumeheight=8&amp;showslider=0&amp;buttoncolor=bcbcbc&amp;buttonovercolor=ffffff&amp;textcolor=f6c000&amp;bgcolor1=dd182a&amp;bgcolor2=a50916&buttonwidth=40&amp;volumewidth=40" />
        </object>
      </div> -->
      <!--<div id="v_ocntrolers">
      <span id="play_cb_div">
   
      <div id="low_quality">
      <img src="images/low_q_off.png" alt="Low Quality" title="Low Quality" width="90" height="12" onclick="showUser(this.value,0)" />
      </div>
   
      </span>
   
      <span id="play_cb_div_high">
   
      <div id="high_quality" style="margin-top:5px">
      <img src="images/high_q_on.png" alt="High Quality" title="High Quality"  width="90" height="12" onclick="showUser(this.value,1)" />
      </div>
   
      </span>
   
      </div> -->
      </div>
      <div style="clear:both"></div>
      <div class="high_low">
    <table width="147" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td><img src="images/low_b.png" width="75" height="15" /></td>
    <td><a href="hirulive_low.html" target="_parent"><img src="images/low_a.png" width="72" height="15" /></a></td>
  </tr>
</tbody></table>

    </div>
      <div style="clear:both"></div>
      <span style="color:#000;">Now playing Hi-Quality</span>
      </center>
    </div>

  </div>


SHAA FM

<div id="player">
    <!--radio starts here-->
    <div id="controlers">
    <center>
    <!--<div id="radio_left">
    <img src="images/player_off.png" width="22" height="33" alt="Click to stop" title="Click to stop" onclick="javascript: player_stop();"/>
    </div> -->
    <div id="radio_right" style="width:189px; height:62px; border-radius:5px; overflow:hidden; padding:5px; background:#FC0; border:1px solid #093;">

    <!-- BEGINS: AUTO-GENERATED MUSES RADIO PLAYER CODE -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="62" bgcolor="#FFFFFF">
<param name="movie" value="http://www.shaafm.lk/player/ffmp3-config.swf">
<param name="flashvars" value="url=http://188.138.75.83:8090/;&amp;lang=en&amp;codec=mp3&amp;volume=65&amp;introurl=&amp;autoplay=true&amp;traking=true&amp;jsevents=true&amp;buffering=5&amp;skin=http://www.shaafm.lk/player/ffmp3-tweety.xml&amp;title=SHAA%20FM&amp;welcome=WELCOME%20TO SHAA FM">
<param name="wmode" value="window">
<param name="allowscriptaccess" value="always">
<param name="scale" value="noscale">
<embed src="http://www.shaafm.lk/player/ffmp3-config.swf" flashvars="url=http://188.138.75.83:8090/;&amp;lang=en&amp;codec=mp3&amp;volume=65&amp;introurl=&amp;autoplay=true&amp;traking=true&amp;jsevents=true&amp;buffering=5&amp;skin=http://www.shaafm.lk/player/ffmp3-tweety.xml&amp;title=SHAA%20FM&amp;welcome=WELCOME%20TO SHAA FM" width="189" scale="noscale" height="62" wmode="window" bgcolor="#FFFFFF" allowscriptaccess="always" type="application/x-shockwave-flash">
</object>
<!-- ENDS: AUTO-GENERATED MUSES RADIO PLAYER CODE -->
      </div>
      <div style="clear:both"></div>
      <div class="high_low">
    <table width="147" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td><img src="images/low_b.png" width="75" height="15"></td>
    <td><a href="shaafmlive_low.html" target="_parent"><img src="images/low_a.png" width="72" height="15"></a></td>
  </tr>
</tbody></table>

    </div>
      <div style="clear:both"></div>
      <span style="color:#FFF;">Now playing Hi-Quality</span>
      </center>
    </div>

  </div>

SRI FM

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Keywords" content="Shree FM, Sri FM, Shri FM, Shree, Sri, Shri, Radio Stations in Sri Lanka, Listen Live, Sinhala Stations, Sinhala Radio, Radio Sri Lanka, Sri Lanka Stations, Sri Lanka Channels, Sri Lanka Radio, Sri Lanka Radio Channels">
<meta name="Description" content="Shree FM is Sri Lanka's number 1 radio station broadcasting live on 100 FM and 100.2 FM island-wide.">
<meta name="Author" content="admin@shree.fm">

<title>Shree FM 100 | 100.2 Sri Lanka - Listen Live</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
<style type="text/css" media="screen">#FlashID {visibility:hidden}</style></head>

<body>
<div id="player_wrap">
  <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="388" height="300" style="visibility: inherit;">
    <param name="movie" value="swf/shreefm_live.swf">
    <param name="quality" value="high">
    <param name="wmode" value="opaque">
    <param name="swfversion" value="9.0.45.0">
    <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf">
    <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="swf/shreefm_live.swf" width="388" height="300">
      <!--<![endif]-->
      <param name="quality" value="high">
      <param name="wmode" value="opaque">
      <param name="swfversion" value="9.0.45.0">
      <param name="expressinstall" value="Scripts/expressInstall.swf">
      <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
      <div>
        <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
        <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
      </div>
      <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
  </object>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>


<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-6825443-1']);
_gaq.push(['_setDomainName', 'shree.fm']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script></body></html>

sirasa fm

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '300',
'height', '116',
'src', 'audioplayer_sirasa',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'audioplayer_sirasa',
'bgcolor', '#BC0600',
'name', 'audioplayer_sirasa',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'audioplayer_sirasa',
'salign', ''
); //end AC code
}

</script>

RIDAM FM

<div class="player-status" data-role="status">
<span data-status="connecting" style="display: none;">
<i class="icon-spinner icon-spin icon-1x"></i> Connecting
</span>
            <span data-status="playing" style="display:none;">
              <img class="status-icon-playing" width="22px" height="22px" src="http://d2kvtqb4z47ggs.cloudfront.net/mobile/images/equalizer.gif">
              Playing
            </span>
<span data-status="stopped">Stopped</span>
<span data-status="error" style="display:none;">Error!</span>
<span data-status="missing-plugin" style="display:none;">
<i class="icon-info-sign"></i><a href="http://help.streema.com/customer/portal/articles/925316-technical-requirements" target="_blank">Missing plugin</a>
</span>

</div>

Y FM

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '300',
'height', '176',
'src', 'yfm_audioplayer',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'yfm_audioplayer',
'bgcolor', '#000000',
'name', 'yfm_audioplayer',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'yfm_audioplayer',
'salign', ''
); //end AC code
}

</script>

තවත් ඕන කරන channel තියෙනවනම් comment එකක් විදියට දාන්න.

ඔයාට computer එක phone එක use කරන කොට එන ගැටලු ගැන මෙතනින් අපිට දැනුම් දෙන්න අපි සුදානම් ඒවාට නිසි විසදුම් ලබාදෙන්න.......
Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

4 comments: