Solved

adding mp3 audio file to website

Posted on 2010-09-16
7
278 Views
Last Modified: 2012-05-10
I found code to add a mp3 file to a website.  I am not familiar with flash so I am kinda winging it.

http://plymouthwisconsin.com/test.html
http://screencast.com/t/MDQ1MzIxY2It

1. How do I remove the downward facing arrow?
2. How do I remove the excess white space above player?
<object id="MediaPlayer" width=50 height=50
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Microsoft® Windows® Media Player components..."
type="application/x-oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<PARAM NAME="filename" VALUE="oktoberfest.mp3">
<PARAM NAME="autoStart" VALUE="false"> <PARAM NAME="showControls" VALUE="true">
<param name="ShowStatusBar" value="true"> <PARAM NAME="Autorewind" VALUE="true">
<PARAM NAME="ShowDisplay" VALUE="true"> 
  <EMBED SRC="oktoberfest.mp3" WIDTH=50 HEIGHT=50 autostart=false type="application/x-mplayer2" name=MediaPlayer showcontrols=true showstatusbar=true autorewind=true showdisplay=true filename="oktoberfest.mp3">
</EMBED></OBJECT>

Open in new window

0
Comment
Question by:nsitedesigns
  • 4
  • 3
7 Comments
 
LVL 10

Expert Comment

by:Tyler Laczko
ID: 33692776
You cannot it is built into the flash source.

unless you have the flash source which i'm assuming you do not have.
0
 
LVL 10

Expert Comment

by:Tyler Laczko
ID: 33692786
FYI the player does not load on my computer.

Vista, Firefox


I would try a different player.
0
 

Author Comment

by:nsitedesigns
ID: 33693028
What is the easiest way to add a mp3 audio file to a website?  It is a radio ad that client wants to make available.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 10

Accepted Solution

by:
Tyler Laczko earned 500 total points
ID: 33693166
<EMBED SRC="myaudio.mp3" VOLUME="50" HEIGHT="60" WIDTH="144">
0
 

Author Comment

by:nsitedesigns
ID: 33693214
Hmmm...I don't want it to auto start.  How do I change the code so the only way it plays is if someone presses the play button?
0
 
LVL 10

Assisted Solution

by:Tyler Laczko
Tyler Laczko earned 500 total points
ID: 33693417
autostart="false" loop="false"
0
 

Author Closing Comment

by:nsitedesigns
ID: 33693470
perfection!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to count occurrences of each item in an array.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

840 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