Skip to content

Bug when trying to load unsupported file types (on IE11) #256

@jamesalvarez

Description

@jamesalvarez
  • Version used (Ex; 1.0): 1.0

  • Describe whats happening (Include any relevant console errors, a Gist is preferred for longer errors):

When I try to load files that are unsupported e.g. 'wav' on a browser (specifically in this case IE11), there is no error message, but more specifically, the 'complete' event is fired x amount of times (the same number as files I wanted to download).

  • OS & Browser version (Please be specific) (Ex; Windows 10 Home, Chrome 62.0.3202.94):

Windows 10, IE11

  • Do you know of any workarounds?

No, apart from just not trying to load unsupported files types, or checking before!

  • Provide any extra details that will help us fix your issue. Including a link to a CodePen.io or JSFiddle.net example that shows the issue in isolation will greatly increase the chance of getting a quick response.

var queue = new createjs.LoadQueue(false);
queue.installPlugin(createjs.Sound);
queue.on("complete", function() {
finishedCallback(true);
}, this);

    var retried = [];

    queue.on("error", function(error) {
        finishedCallback(false);
    });

    // register sounds
    for(var i = 0; i < urlsList.length; i++) {
        var sound = urlsList[i];
        queue.loadFile({id:i, src: sound});
    }

    queue.setMaxConnections(5);
    queue.load();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions