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

Complete event was not fired when the queue has been loaded. #247

Open
Moxmi opened this issue Dec 1, 2017 · 4 comments
Open

Complete event was not fired when the queue has been loaded. #247

Moxmi opened this issue Dec 1, 2017 · 4 comments
Labels

Comments

@Moxmi
Copy link

Moxmi commented Dec 1, 2017

If i put some audio in the queue and load it on a page which has some image element too, the complete event will fired until all the image elements had been loaded instead of the queue has been loaded.

@Moxmi Moxmi changed the title Complete event was not fired when the queue has been loaded。 Complete event was not fired when the queue has been loaded. Dec 1, 2017
@lannymcnie lannymcnie added the bug label Dec 1, 2017
@lannymcnie
Copy link
Member

Are the images part of the queue, or just in the page? If they are blocking elements (ie, your scripts are below them in the body), then the browser may be holding back the load until they are done. Are you seeing them complete, but not getting an event? More info would be helpful.

@Moxmi
Copy link
Author

Moxmi commented Dec 4, 2017

Those images just in the page(like image element). And i was seen them completed.

@Moxmi
Copy link
Author

Moxmi commented Dec 4, 2017

what's more, when wait the image element loading, the queue has been completed(i can play the audio through 'createjs.Sound.play' method in the console) but the complete event not been fired.

@wdamien
Copy link
Member

wdamien commented Dec 5, 2017

@Moxmi Can you please provide us with more details?

Browser & os version. Plus a simple reproduction would really help us debug this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants