Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jamesalvarez opened this issue Jun 27, 2018 · 0 comments
Open

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

jamesalvarez opened this issue Jun 27, 2018 · 0 comments

Comments

@jamesalvarez
Copy link

  • 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();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant