Is there a way to load an image from a URL?
I need to embed an HTML5 game inside a web e-learning platform I'm developing. The page with the embeded game served at (for example) https://my_plaform/my_activity/index.html, so all the game assets are looked for in https://my_plaform/my_activity/ but I can't serve them from that URL (loading them from Amazon S3 should be the optimal solution). Is there a way to load an image from a specific URL and then assign it to a sprite? O maybe is there a way to specify where the resources are to be loaded from in HTML5 target?