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

7 years ago by city41

The docs say that when you specify a path in ig.Sound's constructor, you are free to use 'foo.mp3', 'foo.ogg' or 'foo.*', and the sound manager will pick the correct format based on the browser.

In IE9, using 'foo.ogg' will cause it to try and load oggs, which IE doesn't handle. Switching over to 'foo.*' fixes it.

I know, very minor, but if anyone else hits this, there's a simple fix. Loving that my game runs like a champ in all browsers!

6 years ago by fugufish

thanks for the tip, really useful

6 years ago by fugufish

funny i still get errors, "failed to load resource sound.*'

any hints? I have ogg and mp3 files

6 years ago by fugufish

the fix was to actually use mp3 notation, instead of .* notation ( funny how it's supposed to work with .* )

6 years ago by dominic

This is all very strange. The file ending shouldn't matter at all. Maybe it's a caching issue, somehow?!
Page 1 of 1
« first « previous next › last »