Link to home
Start Free TrialLog in
Avatar of jgla
jgla

asked on

preload a .wav?

Is there a good way to preload a sound file that will be used later in a website?
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jgla
jgla

ASKER

If I put this in the very first web page in a long series, will it stay in cache and will the browser use it instead of tryint to download another copy?
Should do.

If you have a frameset you can even put it in a hidden frame and play it directly later:
<embed name="myWav" src="some.wav" hidden=false autostart=false>

top.hiddenFrame.document.embeds['myWav'].play();

Michel
This question has been abandoned. I will make a recommendation to the moderators on its resolution in a week or two. I appreciate any comments that would help me to make a recommendation.
 
In the absence of responses, I may recommend DELETE unless it is clear to me that it has value as a PAQ. Silence = you don't care
 
ahosang
points to me, please
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

points to mplungjan
Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
ahosang
EE Cleanup Volunteer
Per recommendation, force-accepted.

Netminder
EE Admin