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

Posted on 2007-09-27
Last Modified: 2013-12-07
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="">
<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="" 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 .
Question by:ken2joba
    LVL 26

    Accepted Solution

    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('/cc-common/streaming_new/index.html','ccTuner', 'width=668,height=420,status=no,resizable=no,scrollbars=no'))


    Author Comment

    thanks but I couldn't use it and also any idea about the streaming distortion with the html codes ?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
    Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
    Viewers will learn the basics of making and using Impulse Kits in Ableton Live. Load new Impulse into an empty MIDI track: Fill the 8 empty sample slots with drum samples: Adjust parameters to tailor each sound as desired: Proceed to create be…
    Viewers will learn how to use LFOs to modulate the sound of their Sampler instruments. Click the Modulation tab in Sampler: Choose one (or more) of the three available LFOs, and click the respective button to turn it on: Select a waveform, an LF…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now