Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by caxieyou

Hi

I met a problem.
My own ogg file doesn't work on IE and safiri but fine with chrome and firefox.

But when I download the demo on the website which is :http://impactjs.com/drop/
Yes, the drop game.
I looked into the code then I found this game uses only ogg file and I used the ogg file from this game and replace it with all my ogg file and it works fine on every browser.

I am so wired why this happens.

Btw, when I was testing my game on IE, it tell me the error which is

SCRIPT5022: DOM Exception: INVALID_STATE_ERR (11)


Any ideas?

Thanks a lot

1 decade ago by stahlmanDesign

Take a closer look when running it in Safari. It loads mp3 files.

You must have both ogg and mp3 sound files available and Impact will choose the right one depending on the browser.

See the documentation
Page 1 of 1
« first « previous next › last »