Solved

adding mp3 audio file to website

Posted on 2010-09-16
7
275 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
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.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

867 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

21 Experts available now in Live!

Get 1:1 Help Now