PDA

View Full Version : Can you pre-load sound?


Dean
07-05-2001, 05:58 AM
Hi All,
I have got rm. sound on my site and would like to know if it is possible to pre-load the sound on the page before so that it is buffered and ready to go when people enter the page?

My site is:-
http://members.aol.com/originalsmb

Hope you can help. Many thanks.

prodeveloping
07-08-2001, 03:38 PM
I don't think that it is possible but I'm not completely sure...

Dr. Web
07-08-2001, 04:33 PM
sound can be streamed in using a variety of methods, but the only way to make the sound play at a predefined time (such as pageload) would be to use a tool that can manage time and download together. HTML alone can't really do that. Sure you could try to preload the sounds.... but if the user clicked on the button (or whatever) that was used to call the sound, BEFORE it was totally pre-loaded..... nothing would happen.


If you tried to pre-load the sound BEFORE the page renders.... then the surefer is going to see a white screen for a long time while the sounds load.

Flash has the ability to do what you want, but thats a whole other animal.

prodeveloping
07-08-2001, 10:26 PM
That makes sense, Dr. Web.

I just didn't know that you could change when a Real Media file could be played since it has to be used with their software.

Thank's for the clarification.

Dr. Web
07-09-2001, 12:27 AM
hmmmn, I wasn't speaking about rm files specifically, because you could change the format to suit your needs.

Madman114
09-10-2001, 01:01 PM
You first use a JAVA script. The script to use this is here: http://www.geocities.com/sysadm244/java/sounds.html if you right click on the page you will see how it works. If you still dont understand- email me.