alevys Posted August 3, 2019 Share Posted August 3, 2019 Hi! I have a problem with PIXI 5, I`m making a social game, and I need to load avatars. All file social network gives in WEBP format! How I can resolve this problem? Thank you. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 3, 2019 Share Posted August 3, 2019 Whats the problem? https://codesandbox.io/s/immutable-wind-c7fft Works just fine if you specify crossOrigin:true Quote Link to comment Share on other sites More sharing options...
alevys Posted August 3, 2019 Author Share Posted August 3, 2019 If I will use this link, It doesn`t work - https://i.mycdn.me/image?id=872663412438&t=34&plc=API&ts=000000010000000400&aid=1271381504&tkn=*tXamDTvzRXvb4V3v41eZt-y9DW8 Quote Link to comment Share on other sites More sharing options...
alevys Posted August 3, 2019 Author Share Posted August 3, 2019 OH!!!! I fixed this problem. I just added this line. Thank you for your advice. )) xhrType: LoaderResource.XHR_RESPONSE_TYPE.BLOB ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.