Friday, January 7, 2011

How to add the Radio to your blog :)

Here's the steps:
This is what you do for blogger, I don't know for the other sites but it's probably similar...

1. Go to the Design tab for your blog when you edit it.
2. Click "Add a Gadget"
3. Find the one titled "HTML/Javascript"
4. Add a title if you desire
5. Copy this code in 'Content' (this will look exactly like the one I have on my page):
 <!-- begin embedded WindowsMedia file... -->
<object id="mediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" width="180" height="70" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">


<param name="loop" value="true" /> <embed id="mediaPlayer" type="application/x-mplayer2" volume="50" width="180" height="70" src="http://216.59.35.34:8088" pluginspage="http://microsoft.com/windows/mediaplayer/en/download/" name="mediaPlayer" displaysize="4" autosize="-1" bgcolor="darkred" showcontrols="true" showtracker="-1" showdisplay="0" showstatusbar="-1" videoborder3d="-1" autostart="1" designtimesp="5311" loop="true" ></embed>
</object>
<!-- ...end embedded WindowsMedia file -->

For a link to preview the most recent songs played add this code:
<br /><span style="font-weight:bold;"><a onclick="this.target='_blank';" href="http://216.59.35.34:8088/played.html"><u>Click for Current Song</u></a></span>

6. Click save and see how it looks on your page :)

Feel free to ask questions, for the original code you can visit the radio website: Maerong Radio

6 comments:

  1. can ask if you are a long time listener and have been in the radio chatroom before?

    ReplyDelete
  2. @Anon I've listened for a long while and I was active in the chatroom too but I haven't been on for a few months because classes started -.-

    ReplyDelete
  3. thanks for the steps, one last question, i was successful on adding the radio, but how come its not playing automatically??

    ReplyDelete
  4. It should be playing automatically...it's the same code I use, let me check again...

    ReplyDelete
  5. Ok, I updated the code and took out some unnecessary codes, try it again

    ReplyDelete
  6. thank you so much... it's functioning now..

    ReplyDelete