mirror of
https://github.com/streamwall/streamwall.git
synced 2026-04-03 20:32:08 -04:00
Allow overlay/background iframes to make XHRs
This commit is contained in:
@@ -13,7 +13,7 @@ function Background({ streams }) {
|
|||||||
<BackgroundIFrame
|
<BackgroundIFrame
|
||||||
key={s._id}
|
key={s._id}
|
||||||
src={s.link}
|
src={s.link}
|
||||||
sandbox="allow-scripts"
|
sandbox="allow-scripts allow-same-origin"
|
||||||
allow="autoplay"
|
allow="autoplay"
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ function Overlay({ config, views, streams }) {
|
|||||||
<OverlayIFrame
|
<OverlayIFrame
|
||||||
key={s._id}
|
key={s._id}
|
||||||
src={s.link}
|
src={s.link}
|
||||||
sandbox="allow-scripts"
|
sandbox="allow-scripts allow-same-origin"
|
||||||
allow="autoplay"
|
allow="autoplay"
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user