mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-24 22:22:50 -05:00
Clarify comment
This commit is contained in:
@@ -101,7 +101,7 @@ export default class StreamWindow extends EventEmitter {
|
||||
offscreenView: (context, event) => {
|
||||
const { view } = context
|
||||
view.setBounds({ x: 0, y: 0, width, height })
|
||||
// It appears necessary to initialize the browser view by adding it to a window and setting bounds. Otherwise, some streaming sites like Periscope will not load their videos due to the Page Visibility API being hidden.
|
||||
// It appears necessary to initialize the browser view by adding it to a window and setting bounds. Otherwise, some streaming sites like Periscope will not load their videos due to RAFs not firing.
|
||||
win.removeBrowserView(view)
|
||||
offscreenWin.addBrowserView(view)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user