what are my options for embedding a .mp3 file in a html page if i want it to keep going when the user follows links if possible i would like to avoid using frames but if that is my only option...
DrDoc
12:29 am on May 21, 2004 (gmt 0)
Frames, or a downloadable MP3 the user can listen to even if the browser is closed...
brucec
2:54 pm on May 21, 2004 (gmt 0)
I would assume that the MP3 has to load in a popup window.
use Javascript window.open and then set the blur method on the window object so the MP3 files plays in the background.
WhosAWhata
5:21 pm on May 21, 2004 (gmt 0)
i suppose i'll have to either use a pop-up or frames, i know i visited one website that did this, but i can't exactly remember how
thanks anyways
pixel_juice
5:26 pm on May 21, 2004 (gmt 0)
IMO the best way of doing this is to ask them to click and popup (with javascript) a 'radio player' of some kind which the visitor can then close when they no longer want to listen to it. From my experience of music sites this strikes a good balance between wanting to be heard and not forcing unwanted sounds on people.
WhosAWhata
6:31 pm on May 21, 2004 (gmt 0)
That sounds like a pretty good solution, thanks any ideas of on that is out there
i'm good enough to program my own if i have to, but not nearly as high quality as someone with a better background in this
THANKS
pixel_juice
7:05 pm on May 21, 2004 (gmt 0)
How complicated a script you need would depend on your audience, and what you want them to listen to. Is it just one mp3?
WhosAWhata
8:54 pm on May 21, 2004 (gmt 0)
about 10 i want a select box i just don't want it too look too ugly i also want them to go to 2.mp3 when 1.mp3 is finished, etc.
WhosAWhata
12:06 am on May 23, 2004 (gmt 0)
does anyone have a script that fulfills these basic needs?
i don't think i could make it look very good if i made it myself
WhosAWhata
10:09 pm on May 24, 2004 (gmt 0)
any tips to get me started?
smokeyb
10:38 pm on May 24, 2004 (gmt 0)
Why don't you do it with Flash and actionscript? You could have it open in a seperate window, and add other features like Volume as well as that essential OFF button. I did something like this for my baby boy's site, and I used a 30px frame at the bottom of my page (to keep it constant) and made the music bar 30x400px. And the best part is I found a tutorial free somewhere out there, to do it. HTH
WhosAWhata
10:49 pm on May 24, 2004 (gmt 0)
i was actually thinking that flash might be a good way to go, thanks for agreeing
WhosAWhata
1:06 am on May 25, 2004 (gmt 0)
let me know if you still have that tutorial...
smokeyb
12:32 pm on May 25, 2004 (gmt 0)
I can't remember where it was exactly, but I do remember that I used a combination from a couple of tutes that I found. I am not a fluent actionscriptor, but what I did (and what you want) wasn't that hard to figure out. I think there are probably some even from macromedia. The best way for you to approach it is: figure out exactly what you want, then join an actionscript forum, and get advice on each element. Meanwhile, I will search my old machine for the pages I downloaded. Smokey