Onclick starts gif animation and .mp3, how to sync across browsers

Posted by user2958163 on Stack Overflow See other posts from Stack Overflow or by user2958163
Published on 2013-11-05T21:52:29Z Indexed on 2013/11/05 21:53 UTC
Read the original article Hit count: 262

Filed under:
|
|
|
|

So I am using a text-based jplayer (http://jplayer.org/latest/demo-04/) that I want to sync with a gif animation.

Onclick the text link does two things -1. feed the jplayer an mp3 and 2. trigger an animation (via SwapImage). It is important for these two to start at the same time.

Right now, this works perfectly in chrome/firefox but in IE and mobile browsers the audio lags considerably.

I have tried with the audio preloaded (it is a small 40K mp3) and it makes no difference. I dont think its a bandwidth problem because the problem is the same on repeat clicks.

Any pointers on how I can resolve this...

© Stack Overflow or respective owner

Related posts about animation

Related posts about onclick