September 13th, 2003, 09:10 AM
Adding music to Webpage
Hey i'm currently building my first web page.
And i've been to many sites were there is music playing
I was wondering how i would go about getting my site to play music as well?
Is there a special source code needed?
Or can i just upload the file from my computer?
If that is the case what sort of file does it need to be?
As i have media player version 9
I do have this program called Acid pro 4.0
or do i need to go and purchase a certain program?
Any ideas would be much appreciated?
September 13th, 2003, 09:19 AM
Usually what you want to do is use a midi as your sound file so that everyone can hear it since a big file would make it unbearable to wait to hear it. IE 56k users or if your server is slow. People like doing things with their webpages but don't think this is cool because a lot of times it is not. It turns out to be a hassle to wait for your page to load when you have a lot of extra stuff going on. To recap unless your site is based on music I would advise against this. If you really want to use music I recommend a midi that is small.
September 13th, 2003, 10:03 AM
Ok if it's going to be harder then thought, I think that i will give it a miss.
It sounded like a nice idea, but yeah there are a few pages that take forever to appear.
I just thought it might be because of all the pics that they had, but i wa wrong!
All well back to the drawing board so to speak.
September 13th, 2003, 10:14 AM
Here you are a little piece of HTML with the code for implementing some music or sounds.
This is some basic code and you may cutomize it to your needs.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<EMBED SRC=****.mp3 AUTOSTART=true WIDTH=144 HEIGHT=60 LOOP=1 HIDDEN=true>
September 13th, 2003, 10:36 AM
Like gamernewbie, I wouldn't advocate putting any music on your site at all unless your site is somehow related to music. However, if you still want to do this and run into any problems PM me and I'll help you out.
September 13th, 2003, 02:19 PM
I wouldn't embed an MP3 directly into the site. It would cause a serious lag in loading. On one of my sites, I've been playing around with TinyPlayer, which is a little Java player that streams the audio, gives you the option to replay, multiple songs, and stop it completely.
Here's how I'm using it here. (Note: I've dumped the site for the time being, so it's by far NOT done, the player is skinnable too.)
It works considerably well...check out the TinyPlayer site here:
Midis are kinda tacky, so don't go for them at all.
You might fiind some nice long loops at FlashKit (http://www.flashkit.com) to use on your site as well, doesn't strictly have to be an actual song, plus what I'm doing is seriously illegal, but it's for testing only, so the RIAA can suck my fat toe. So watch when it comes to copyright issues.
September 17th, 2003, 02:58 AM
ummmm GG hun that player crashed opera >_<
if you want to add music I would suggest doing it through Flash (then again i suggest everything should be done through flash )
but it does mean u can preload it, allow user to select track, control it (play/pause/stop etc) apply fade effects etc without changing source mp3 - and can load it in on the fly so you could use one flash file so no need to embed in file (means easier updating...upload new track with same file name as one to replace and flash will load in new track) etc etc
plus you can add random track selector - volume controls
you have complete control over it