Solved

adding mp3 audio file to website

Posted on 2010-09-16
7
277 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

809 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