Solved

adding mp3 audio file to website

Posted on 2010-09-16
7
270 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

759 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

23 Experts available now in Live!

Get 1:1 Help Now