Add/Embed online internet radio player on your blog/website
Search for the link to station which you want to embed.
Some examples are
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.
<div id="movId" name="movId" align=center>
<object id="MediaPlayer1" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,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="http://keralaradio.in/media/KeralaRadio.asx" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="MediaPlayer" autostart="1" showcontrols="1" width="400" height="45">
</object>
</div>
In the code where ever the string "http://keralaradio.in/media/KeralaRadio.asx" is present, should be replaced by the link to internet radio station which you want to stream.
<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.
Hi, Thank you for your code , Its easy to do. And i am wondering how can I listed radios URL.
ReplyDeleteList 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.
ReplyDeletereally great, thanks for sharing.
ReplyDeletehi , thanks for the code, but im a little confused..
ReplyDeletei go to this site here
http://www.windowsmedia.com/radioui/home.aspx
but i cant find any links with .asx at the end?
where do i find radio sation links to put in the player?
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
ReplyDeletegood job...thanks
ReplyDeleteHi, 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.
ReplyDeleteThanks.
Please refer
ReplyDeletehttp://answers.microsoft.com/en-us/windows/forum/windows_vista-sound/windows-media-player-plugin-does-not-work-in/7742c2df-61cb-4543-9c61-130a973ffa2d
That html i was looking 2 days and finnaly
ReplyDeleteI putt it on
http://ularice.webs.com
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 ?
ReplyDeleteThanks Again :D
Check for widows media player plugin. Install it and it will start working.
ReplyDeleteVery Big Thanks for this code! Save my day :)
ReplyDeletethanks man thanks for your code its really amazing :)
ReplyDeleteworked great! thanks man!
ReplyDeleteit works in a computer, but how can make it play like in an iphone, android?
ReplyDeletethanks for sharing radio embed..
ReplyDeleteBig 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.
ReplyDeletethank you for the information
ReplyDelete