-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
WEBP image errors on Windows #62
Comments
Does it happen with, for example, png images? |
PNGs don't seem to even load. |
hmmm, that seems odd - i wonder if something has changed internally in lime or hxcpp or something... bear with me, ill try this end (i would have expected webp to not work, unless that is supported by openfl / lime?) |
OK, so can repro with the webp, which i think is probably valid because im guessing it doesnt support webp... although the error seems a little odd... (ill look into it). I cant repro with a png, i tried: Cheers, |
That png indeed works, others such as |
Actually, after some more testing, it seems that in this case html5 is actually having an issue |
right, that also makes sense i think the browser is preventing haxe (not haxeui) from making that http request becuase the requested resources has said (CORS):
It may work if you deployed to a real domain rather than localhost (but probably not) |
That makes sense, is there any way to add a |
well, |
You're right. Lucky that is indeed the case. |
OpenFL's |
Expected Behavior
The resource should load
Current Behavior
When using an external image/web address as the resource of an image the built program for Windows errors with:
haxe/ui/backend/AssetsImpl.hx:95: [IOErrorEvent type="ioError" bubbles=true cancelable=false text="Unknown error" errorID=0]
Steps to Reproduce (for bugs)
Test app / minimal test case
Your Environment
The text was updated successfully, but these errors were encountered: