obsproject/obs-browser

Webpage that performs redirects becomes invisible

jessicah opened this issue · 1 comments

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

30.1.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/wOTzxKFaumzH09IZ

OBS Studio Crash Log URL

No response

Expected Behavior

Source displayed correctly after redirects.

Current Behavior

Redirects seem to confuse the browser source, and end up with an invisible source. Editing the custom CSS, e.g. tweaking body { background-color: rgba(0, 0, 0, 0; } between rgba(0, 0, 0, 0) and rgba(0, 0, 0, 1), the source will briefly flash visible then disappear again.

In this instance, the source is a page that does a redirect to Spotify for auth before redirecting back. If I relaunch OBS, where the auth has happened, so that a redirect isn't required, the browser source displays fine. Refreshing cache, making source enabled/disabled does not fix it, only relaunching OBS.

Steps to Reproduce

Add a browser source which does a redirect on load, e.g. https://jessicah.nz/spotify/now-playing.html

Anything else we should know?

No response

There is definitely something very weird happening here. The page still renders in devtools but not in OBS

image

Forcing the page to navigate to another URL such as Google and then issuing a history.back() command the page then functions fine.