HighDots Forums  

Pb of delay playing sound on mouseover

JavaScript discussion (multi-lingual) JavaScript discussion (alt.comp.lang.javascript)


Discuss Pb of delay playing sound on mouseover in the JavaScript discussion (multi-lingual) forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Globy
 
Posts: n/a

Default 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 ?

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.