Question / Help Browser Plugin not showing contents from text file

Hi,

i'm using phantombot as my bot which provides me several text files to use in the stream. there is a way to read them via a browser. when visiting
host:port/addons/youtubePlayer/currentsong.txt?webauth=oauth-code&refresh
with a browser, it shows the content. obs does not show anything. exact same url.

since i am remotely hosting the bot, i cannot access these files via smb or similar.
is there a way to get obs to show the files contents?
 

cubuzz

New Member
Without a log file, we won't be able to look into what's going wrong.
Can you verify the URI? Do other websites work within the browser?
 
other websites work perfect in browser source as they should. the same uri used in a native browser shows the files content.
here is a logfile https://obsproject.com/logs/qC5tmUMOWi7_QKwC
there are quite some websocket errors i cannot explain since i never knowingly installed streamkit discordapp.

edit: seems like i actually have used discord streamkit at some time and forgot to kill the source. it's deleted now. will restart obs and create a new logfile
 
these two are put in the log when i add the browser sources with the above uris

18:13:28.347: obs-browser: Refused to load the stylesheet 'data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

18:13:28.347: (source: data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=:1)

18:13:36.878: obs-browser: Refused to load the stylesheet 'data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=' because it violates the following Content Security Policy directive: "style-src 'self' 'unsafe-inline' ". Note that 'style-src-elem' was not explicitly set, so 'style-src' is used as a fallback.

18:13:36.878: (source: data:text/css;charset=utf-8;base64,Ym9keSB7IGJhY2tncm91bmQtY29sb3I6IHJnYmEoMCwgMCwgMCwgMCk7IG1hcmdpbjogMHB4IGF1dG87IG92ZXJmbG93OiBoaWRkZW47IH0=:1)
 
Well - nevermind. regardless of all the errors and crashes, it was just a user problem. the information displayed was black and the font was very tiny - i could not see it with a dark background and then editing the browser source - well, i use a dark skin for obs. could not see it.
looks like this problem was never a real problem then..
 
Top