Add/Embed online internet radio player on your blog/website

Add online radio on blog or website
In my previous post I have listed some radio stations which can be played online using the embedded player. In this post I will explain how to embed an online internet radio player on a blog/website.
  1. Get the link to the station. This can be extracted from the website of the respective station or a playlist file which is used to play the station or by searching in google.
    Search for the link to station which you want to embed.
    Some examples are
    • mms://
    Some sites/radio also provides playlist files such as .pls, .asx, .ram etc. Try to use these links directly, or download(use a download manager) these files and open using notepad to get the stream.
    Some sites/radio will not have these playlist files, but just the player embedded. In this case use the view source or inspect element option in browser to examine the web page source and find the stream link.
  2. Go to the html view of the blog/website and past the following code at the place where you want the player to appear.
<div id="movId" name="movId" align=center>

<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase=",0,02,902" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject" width="400" height="300">
  <param id="FileName" name="FileName" value="">
  <param name="animationatStart" value="true">
  <param name="transparentatStart" value="true">
  <param name="autoStart" value="true">
  <param name="showControls" value="true">
  <param name="fullScreen" value="false">
 <embed src="" type="application/x-mplayer2" pluginspage="" name="MediaPlayer" autostart="1" showcontrols="1" width="400" height="45">

In the code where ever the string "" is present, should be replaced by the link to internet radio station which you want to stream.
If you want the page to start streaming/playing automatically, then change in line
<param name="autoStart" value="false">  
false to true and change in line no 10 autostart="1" to autostatrt="0"

And this will be the resullt of the above code.

Click the play button to start playing/streaming the radio station.


  1. Hi, Thank you for your code , Its easy to do. And i am wondering how can I listed radios URL.

  2. List is made with the help of html radio buttons, table and java script. Table contains the link to the radio station. When a radio button is selected, it will call a javascript function. This function will change the code for embedding the player.

  3. really great, thanks for sharing.

  4. hi , thanks for the code, but im a little confused..
    i go to this site here

    but i cant find any links with .asx at the end?
    where do i find radio sation links to put in the player?

  5. Go to the page, click listen for the station you want to listen, you will get a .wax file. Save that file and open with notepad. Now search for the link containing .asx

  6. Hi, I followed this instruction and it seems to be working just fine on my site when I'm using firefox browser. but when I used Internet explorer browser, it wont play. I was just wondering if you got a tip to solve this problem.


  7. Please refer

  8. That html i was looking 2 days and finnaly
    I putt it on

  9. Thanks :) ! It was easy to follow and very clear ;) I just need to know, now, where or how to find the plugin it says is missing ;) Which plugin should I look for ?

    Thanks Again :D

  10. Check for widows media player plugin. Install it and it will start working.

  11. Very Big Thanks for this code! Save my day :)

  12. thanks man thanks for your code its really amazing :)

  13. worked great! thanks man!

  14. it works in a computer, but how can make it play like in an iphone, android?

  15. thanks for sharing radio embed..

  16. Big Thanks for this code!really nice.i have spent my most of the time to spend with online tamil fm visit it.have a nice day go ahead.