untoldent
New Member
i had something working beautifully. Now it doesn't, as of an update earlier this year.
i stream board games. When a moderator or i type "!cover gamename," it fires off a Powershell script that searches for that game on Board Game Geek (it's like the Internet Movie Database, but for board games). It retrieves the url of that game's cover image, and stores it to a local .txt file on my computer.
In OBS, i have an html file as a browser source. The html uses javascript to reads my local txt file and display the image. It's pretty sweet... you can just conjure up a board game cover on the screen during a livestream.
It's not working any more. i get this error in the log file:
20:24:23.926: obs-browser: Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///C:/someLocalPath/coverURL.txt'. (source: http://absolute/C:/someLocalPath/cover.html:34)
20:24:25.925: obs-browser: Not allowed to load local resource: file:///C:/someLocalPath/coverURL.txt (source: http://absolute/C:/someLocalPath/cover.html:34)
i have the --allow-file-access-from-files flag set on my OBS launch shortcut, and i'm running it as Administrator.
But apparently a recent change to chromium prevents you from circumventing that security feature (?) The html file works in (non-Chromium) Firefox.
Is there any other way around this error? Or any other way to get this cool feature working again?
i stream board games. When a moderator or i type "!cover gamename," it fires off a Powershell script that searches for that game on Board Game Geek (it's like the Internet Movie Database, but for board games). It retrieves the url of that game's cover image, and stores it to a local .txt file on my computer.
In OBS, i have an html file as a browser source. The html uses javascript to reads my local txt file and display the image. It's pretty sweet... you can just conjure up a board game cover on the screen during a livestream.
It's not working any more. i get this error in the log file:
20:24:23.926: obs-browser: Uncaught NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///C:/someLocalPath/coverURL.txt'. (source: http://absolute/C:/someLocalPath/cover.html:34)
20:24:25.925: obs-browser: Not allowed to load local resource: file:///C:/someLocalPath/coverURL.txt (source: http://absolute/C:/someLocalPath/cover.html:34)
i have the --allow-file-access-from-files flag set on my OBS launch shortcut, and i'm running it as Administrator.
But apparently a recent change to chromium prevents you from circumventing that security feature (?) The html file works in (non-Chromium) Firefox.
Is there any other way around this error? Or any other way to get this cool feature working again?