ACB_Gamez
New Member
OBS 27.0.1 (64 bit)
macOS 10.15.7
–––––
Hey All,
I am trying to run a local .HTML file using the OBS browser source, but keep getting errors that the program failed to fetch the local files required to run. The log file is attached. This .HTML file works if I spin up a local server and run it there.
I have tried running OBS from the terminal as an admin via the following line:
I don't usually run programs from the terminal, so let me know if I applied the flag inccorectly.
Here is the relevant error from the log file I think:
I don't code in Java, but I tried reformatting the file paths to use "./" instead of the full path in the .js file ("js:61) for the fetch. I am pretty out of my league here, would greatly appreciate some help!
macOS 10.15.7
–––––
Hey All,
I am trying to run a local .HTML file using the OBS browser source, but keep getting errors that the program failed to fetch the local files required to run. The log file is attached. This .HTML file works if I spin up a local server and run it there.
I have tried running OBS from the terminal as an admin via the following line:
sudo open /Applications/OBS.app/Contents/MacOS/obs --args -picture --allow-file-access-from-files
I don't usually run programs from the terminal, so let me know if I applied the flag inccorectly.
Here is the relevant error from the log file I think:
Code:
11:02:35.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.wasm. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:35.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.pck. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:36.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.wasm. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:36.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.pck. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:37.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.wasm. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:37.244: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.pck. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:38.245: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.wasm. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:38.245: obs-browser: Fetch API cannot load file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.pck. URL scheme "file" is not supported. (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
11:02:38.245: obs-browser: Failed to fetch (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.html:212)
11:02:38.245: obs-browser: Uncaught (in promise) TypeError: Failed to fetch (source: file:///Users/aaronbastian/Desktop/OBSOrganizerTest/index.js:61)
I don't code in Java, but I tried reformatting the file paths to use "./" instead of the full path in the .js file ("js:61) for the fetch. I am pretty out of my league here, would greatly appreciate some help!