I run the example code, the one with the red triangle, on the , tizen web simulator application (samsung tv) and everything works.
When I try to run it on the TV,AU7100, It does not work.
When I try to run it on a browser on the computer, it doesn’t work either
The error is
Access to fetch at ‘file:///home/ziv/workspace/BasicProject2/wasm_modules/wasm_module2/CurrentBin/wasm_module2.wasm’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, isolated-app, chrome-extension, chrome, https, chrome-untrusted.
wasm_modules/wasm_module2/CurrentBin/wasm_module2.wasm:1 Failed to load resource: net::ERR_FAILED
wasm_tools.js:23 Uncaught (in promise) TypeError: Failed to fetch
at ModuleLoader.load (wasm_tools.js:23:9)
at new ModuleLoader (wasm_tools.js:17:14)
at index.html:54:13
also attached to the image
Does anyone know what the solution is?
How can you run C code on a Tizen TV?