We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
this.setVideoSize函数中添加如下代码,
var img = new Image(); img.onload = function () { console.log('img loaded'); } img.src = "data:image/png;base64,...";
浏览器提示“Image is not defined”, 而在其他js中运行则不会有这个错误,看起来是和wasm运行环境有关。work.js中其他地方运行同样如此。
请问如何配置才能在setVideoSize中执行Image加载?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
this.setVideoSize函数中添加如下代码,
var img = new Image();
img.onload = function () {
console.log('img loaded');
}
img.src = "data:image/png;base64,...";
浏览器提示“Image is not defined”, 而在其他js中运行则不会有这个错误,看起来是和wasm运行环境有关。work.js中其他地方运行同样如此。
请问如何配置才能在setVideoSize中执行Image加载?
The text was updated successfully, but these errors were encountered: