TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

Hi i need your knowledge.``

Page: 1 2 Reply
May 29th 2003#105676 Report
Member since: May 13th 2003
Posts: 644
i want to load a mp3 file when my page loads and i want a simple on off switch anyone knows a simple script to do this ??? Thanks
Reply with Quote Reply
May 29th 2003#105678 Report
Member since: Mar 18th 2001
Posts: 6632
Use Flash. It's probably the easiest way for your viewers.
Reply with Quote Reply
May 29th 2003#105681 Report
Member since: May 13th 2003
Posts: 644
thanks but i want to stay away from plugins, and im still learning flash and i dont want to start something i cant finish right now.


Do you know were i can find a turorial on this?
I really apriciate all your imputs?
Reply with Quote Reply
May 30th 2003#105690 Report
Member since: Mar 24th 2002
Posts: 3114
However you do it, will need a plugin of some sort I guess..
I'd say go with Flash too.
But you can always use the < bgsound= > crap, or the
< embed src='somesong.mp3' volume='128' autostart='true' loop='100'> thingie.
An on / off button would be easy too, maybe using an iframe that holds the music, or try using the JavaScript's ever-so-usefull "innerHTML=..." - function.
Reply with Quote Reply
May 30th 2003#105693 Report
Member since: Mar 18th 2001
Posts: 6632
embedding the music in the page like that would piss a lot of people off i think. i know it would piss me off. you should have a really big noticeable stop button on there no matter what you end up doing.
Reply with Quote Reply
May 30th 2003#105700 Report
Member since: Nov 26th 2001
Posts: 2586
Maybe something to add for Paavo's idea. You could use a frame page and have the top frame with the music be 0 height, os basically it would be invisible, but contain all the code for the music as the person browses page to page.
Reply with Quote Reply
May 30th 2003#105720 Report
Member since: May 13th 2003
Posts: 644
Again you help me out alot. I just needed a quik and easy way to have a sound play when a page loads... your code worked nicely thanxs....

I will include a big stop button.

??What do you guys think of dreamweaver behaviors????

There is a lot of onload, onclick, onmouseover, ect. ect. Do you think I should use those???


Ill put a couple of links to my page once i fix it a little, i dont want to emaress next to all you pros...


thanxs again

Raul
Reply with Quote Reply
May 30th 2003#105805 Report
Member since: Jun 30th 2001
Posts: 447
I personally think you should refrain from directly embedding large music files like mp3 into web pages unless you use a plugin to compress the music. Don't forget, a lot of people still use dial-up internet access.
Reply with Quote Reply
May 30th 2003#105811 Report
Member since: May 13th 2003
Posts: 644
i not going to use the whole song but rather a short beat looped,
so i just need someone to guide me to how i can give the end user the control to stop and start the file. thanks everyone.
Reply with Quote Reply
May 30th 2003#105812 Report
Member since: May 13th 2003
Posts: 644
can i use an Iframe to show a list of songs and then have the user click on them to hear, would a simple link to a file work?
that would be king of cool i think.
pavv you been very helpfull, and i do apriciate all your help.
Maybe one day i can help you out in some way.
Reply with Quote Reply
Page: 1 2 Back to top
Please login or register above to post in this forum