I have html5 creative build using create js which tries to load images from manfiest.Can we replace the image path with encoded image to build inline html
Existing code:
manifest: [
{src:"images/test_logo.png", id:"test_logo"},
{src:"images/tg.png", id:"tg"},
{src:"images/tq_logo.png", id:"tq_logo"},
{src:"images/tq_1.png", id:"tq_1"},
{src:"images/tq2_2.png", id:"tq2_2"}
]
loader.loadManifest(lib.properties.manifest);
I have tried replaceing test_logo.png with encode string data:image/png;base64,iVBORw0KGgoAAAANSUhE
but getting error as
XMLHttpRequest cannot load file
Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.
Please suggest me any way to get through this.
Thanks.