Link to home
Start Free TrialLog in
Avatar of wanda101797
wanda101797

asked on

embed mp3

How can I embed an mp3 in my html?
I'm trying this, but no luck.

<embed src="LonelyBoy.mp3" width=200 height=60 controls=console autostart="true">

it doesnt have to autostart, but needs to have at least the start, stop & pause buttons, and work with IE & Nets.
Thanks
Avatar of wanda101797
wanda101797

ASKER

added this-
<embed src="LonelyBoy.mp3" width=200 height=60 controls=console
autostart="true"><BGSOUND SRC="LonelyBoy.mp3"></embed>

(winamp is my default mp3 player)

now I can hear it, but still no buttons (volume control would be nice too)
Wanda,

This worked:
<embed SRC="alleycat.mid" ALIGN="Bottom"
WIDTH=300 HEIGHT=50>

Note the width.

I was using Windows media player and the volume control is way to the right I could not get it until I made the width enough to include it.

I don't know what winamp looks like but it may just be a matter of sizing to make sure that everything you need is viewable.

The align="bottom" is because the controls are at the bottom.  If they are at the top of Winamp use align="top".

Tested in IE5 only, but should work the same for Netscrap.

Let me know if that helps.

Cd&
BTW,

Sorry it took so long for you to get a response.  I'm on a tight deadline at work and have had limited time available the last couple of weeks.

Cd&
here's one i found..... it uses windows media player.

<embed src="mp3/yourSong.mp3" width="200" height="150" volume="100" controls="playbutton" autostart="true">
I appreciate the comments, but if winamp is the default mp3 player, nothing happens. Like I said earlier, if I add bgsound in there, it plays the mp3, but no buttons at all.
The only thing that I can think of is that the problems is with the winamp associations.  This is a long shot but try adding this to the EMBED:  pluginspage="url"

Where the Url is the location of the winamp player.

Cd&
ASKER CERTIFIED SOLUTION
Avatar of egbservices
egbservices
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
wanda,

You may have forgotten this.  could you bring it to a close please.

TIA for helping to clean up the old questions.

teacher_mod
Community Support Moderator
Experts-Exchange
teacher_mod@experts-exchange.com