LorenzCK / OnTopReplica

A real-time always-on-top “replica” of a window of your choice (on Windows).
Other
2.46k stars 271 forks source link

Video in OTR Freezes when switching away from the source window of the playing video. #154

Open mcolinp opened 5 months ago

mcolinp commented 5 months ago

I vaguely remember dealing with this once before, but I don't remember the fix. I primarily watch Youtube videos using Firefox. When using OTR, I typically use the "Region" option to remove unwanted ui elements around the video. Not sure if this contributes to the issue or not. I vaguely remember there potentially being something I needed to change with Firefox. I saw another issue with Chrome mentioning flags, but I'm not sure if that is the same with Firefox, and how to make and save the needed changes to get video working.

epiloso commented 3 months ago

This got me searching the same issue w/ Firefox... found this thread on Reddit about the "occlusion" setting but here is the TLDR... the tab still can't be minimized but the video won't freeze when the tab is behind another window.

Go to about:config in the browser address bar Search for dom.timeout.enable_budget_timer_throttling and set value to false Search for widget.windows.window_occlusion_tracking.enabled and set value to false Search for dom.min_background_timeout_value_without_budget_throttling and set value to 10