Closed kimorkim closed 7 years ago
more infomation.
works for me.
const image = new Image();
image.onerror = function(){
console.log('err');
};
image.onload = function() {
console.log('load');
};
image.src = (inside asar file)
don`t work.
const image = new Image();
image.onerror = function(){
console.log('err');
};
image.onload = function() {
console.log('load');
};
image.src = (outside asar file) // ex. C:\\Users\\entry_pc\\Pictures\\1.png
@kimorkim See https://github.com/electron/electron-compile/pull/199
thanks @MarshallOfSound
I'll wait for the pull request to merge.
And I'll close this issue and check out electron-userland/electron-forge#153 issues.
We are creating several media manipulation programs.(ex. image, sound)
I can`t get it to use image or audio tags.
The error message is as follows.
any way to use local media files?