|
-
Hammerhead Shark
Implementation of background music for html
Hi, I was wondering for making background music, is the command body bgmusic="filename"? I can't really remember how to do it as I its been a while since I have done something like that. Also I remember when trying to do that in the past, it didn't work with mp3 files and it only worked with wav files. As you know, wav files are really freakin big and I need some way for it to compress and read it. What other compression can I use? Btw this is kind of a personal site going so that is why i'm adding background music .
-
Mako Shark
even mp3s are too big. not everyone is on broadband so i suggest midi
btw bgsound is a internet explorer only tag so you want to use embed
check this out
http://www.pageresource.com/html/embed.htm
or if you insist on using bgsound..
suit yourself: http://www.blooberry.com/indexdot/ht.../b/bgsound.htm
-
Hammerhead Shark
Cuz the song that I want to play right now is at 3 megs which is in mp3 form. Thx for the info. Anymore help would be greatly appreciated.
-
Hammerhead Shark
Hey dude, I have gotten the embed tag to work but there's one thing that bothers me. Is there a way to set the volume to? Also is there a way to get the music to keep on going and don't stop as you go to another page? They're both linked together, its just that the song starts all over when I switch page...
-
Mako Shark
Originally posted by Sgt_Strider
Hey dude, I have gotten the embed tag to work but there's one thing that bothers me. Is there a way to set the volume to? Also is there a way to get the music to keep on going and don't stop as you go to another page? They're both linked together, its just that the song starts all over when I switch page...
volume? i dont nkow of anyway to set that.
as for keeping the musci playing. you could use frames, make one frame so small that it's invisible and put the embed in that frame and put all your content in the other frame. that should work.
although a 3 mb background sound?! i hope you aren't serious.
-
Hammerhead Shark
-
Mako Shark
no i dont think there's a simpler way to do it. when you reload a page, all elements on the page is purged so you need a persistent page for the music playing thingie to be persistent.
as for the volume, you could use some program to adjust the volume of the mp3 itself.
still i think 3 mb is a little too big for background sound. tht would take lik 15 minutes to load on a modem.
-
Hammerhead Shark
Originally posted by dighn
no i dont think there's a simpler way to do it. when you reload a page, all elements on the page is purged so you need a persistent page for the music playing thingie to be persistent.
as for the volume, you could use some program to adjust the volume of the mp3 itself.
still i think 3 mb is a little too big for background sound. tht would take lik 15 minutes to load on a modem.
Actually most of my friends have cable and it should be alright. But you are right about the loading up part, hmm....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|