Pb of delay playing sound on mouseover -
10-14-2005
, 04:38 AM
Hi,
All is in the title : I'm trying to use a javascript code to play a
small wav file (7KB) when mouse go over a DIV, but it imply a
delay/latency and block the rest of the process until sound is
effectively executed.
It seems that playing sound is a synchroneous process and the latency
(around 200ms as I've read in several sources) is a by design thing.
Then, the fact is that I have to stay close to one or half a second on
the DIV to hear the sound and see the rest of the process (show another
DIV elsewhere) being done.
How to workaround this behavior (not using flash of course) ? Using othe
sound file format, special coding way... don't know... Do you have an
idea ? |