Jump to content

Pixi resource-loader - add timeout to XHR request


dranitski
 Share

Recommended Posts

Hi all!

Here I have interactive pixijs exmaple that hangs on loading assets and timeouts after a long time https://www.pixiplayground.com/#/edit/pZfY8PQc7PsIJe4ypdavS

Can please anyone help with adding custom (10s) timeout to Pixi resource-loader? Any help will be greatly appreciated :)

I was looking through the docs http://englercj.github.io/resource-loader/ but did not get how to do that or where to pass XHR options. I noticed some Load Strategy interfaced but it is not obvious for me how to use it.

Edited by dranitski
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...