Jump to content

asset loader - Failed to load element (cross domain)


manelis
 Share

Recommended Posts

Hello, 

 

I need to load a texture from a cross domain source (cloudfront). I have already seen that it must be done with the loader, however it gives a error anyway. After loading, the object is the following:

 

  1. flagi
    1. _boundCompletebound ()
    2. _boundOnErrorbound ()
    3. _boundOnProgressbound ()
    4. _boundXdrOnTimeoutbound ()
    5. _boundXhrOnAbortbound ()
    6. _boundXhrOnErrorbound ()
    7. _boundXhrOnLoadbound ()
    8. _dequeue()
    9. _eventsObject
    10. crossOrigin"anonymous"
    11. dataimg
    12. errorError: Failed to load element using IMG at i.a.16.i._onError (xxxxxxxx)
    13. isAudiofalse
    14. isDataUrlfalse
    15. isImagetrue
    16. isJsonfalse
    17. isVideofalse
    18. isXmlfalse
    19. loadType2
    20. name"flag"
    21. texturei
    22. url"xxxxxx"
    23. xhrnull
    24. xhrTypeundefined
    25. __proto__i

 

Being xxxxxx the correct urls.

 

Anyone knows why this happens? 

 

Thank you for the help.

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...