PreloadJS makes preloading assets & getting aggregate progress events easier in JavaScript. It uses XHR2 when available, and falls back to tag-based loading when not.
In the RequestUtils.getTypeByExtension() method, the "webm" extension is there twice (line 110 and line 114). Is this intended?
I don't see how it could be detected as anything but createjs.Types.SOUND and I'm not sure this is necessarily the best default value for the WebM format.
I understand that we should specify the type explicitely but I stumbled upon that, while debugging a related issue, and figured I should report it.
In the
RequestUtils.getTypeByExtension()
method, the "webm" extension is there twice (line 110 and line 114). Is this intended?I don't see how it could be detected as anything but
createjs.Types.SOUND
and I'm not sure this is necessarily the best default value for the WebM format.I understand that we should specify the type explicitely but I stumbled upon that, while debugging a related issue, and figured I should report it.