I need to embedd windows audio player in a webpage that could display advertisement

hi folks,
I am new and running a community radio as a hobby.Well I 'm trying to do a couple of things with this code  thus embedd this windows player in a webpage. and also try to display the station's name in the player.
 <OBJECT ID="MediaPlayer" WIDTH="300" HEIGHT="70" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://xx.xxx.xx.">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="http://xx.xxx.xx" NAME="MediaPlayer"
WIDTH="300" HEIGHT="70" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="1"> </EMBED>
The player works fine  just the following concerns
1. I would be very glad if experts could help me get the coding to be able to insert an advert or at least the internet radio's name in the player. So that as the it streams it displays the name/logo of the radio.
2.I would also be glad if I could get coding to enable the player be loaded in a new window by itself when one gets to the website.
Also with the coding above when I start to stream the sound distorts at the intial hearing of the the music being streamed for about 5 secs and also does the same thing anytime I switch to a different song or different player . Could it be related to the coding ?
It works fine without the code above but I need to put the player on the web for listeners. Could someone help me . I am just a rookie learning real fast. Thanks in advance whoever helps me .
Who is Participating?
Eddie ShipmanConnect With a Mentor All-around developerCommented:
One thing that most of the radio stations do is run the WMp in a mini mode and then use HTML or
Flash to show the other stuff, take a look at the source here:


Their player is opened in a new window with this javascript:

javascript:void(window.open('/cc-common/streaming_new/index.html','ccTuner', 'width=668,height=420,status=no,resizable=no,scrollbars=no'))

ken2jobaAuthor Commented:
thanks but I couldn't use it and also any idea about the streaming distortion with the html codes ?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.