?
Solved

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

Posted on 2007-09-27
2
Medium Priority
?
285 Views
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="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>
</OBJECT>
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 .
0
Comment
Question by:ken2joba
2 Comments
 
LVL 26

Accepted Solution

by:
Eddie Shipman earned 1500 total points
ID: 20050084
1:
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:

http://www.love94.com/cc-common/streaming_new/index.html

2:
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'))

0
 

Author Comment

by:ken2joba
ID: 20091170
thanks but I couldn't use it and also any idea about the streaming distortion with the html codes ?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New to live audio mixing? Member of a band who wants to improve the quality of your bands sound? Need to brush up on mixing techniques? Sick of subpar mixes? This is the article for you!
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

850 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