diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-08 11:57:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-11 09:37:26 +0200 |
commit | db9df9a72c67a6ba150620f0f1c0838a3c155786 (patch) | |
tree | 66563a6d8053a46a14a4be46efa7fbf6a82bb96b /client/src/standalone | |
parent | e0b1231b2075e81afe06c2df4fdf55e148f05f3a (diff) | |
download | PeerTube-db9df9a72c67a6ba150620f0f1c0838a3c155786.tar.gz PeerTube-db9df9a72c67a6ba150620f0f1c0838a3c155786.tar.zst PeerTube-db9df9a72c67a6ba150620f0f1c0838a3c155786.zip |
Fix local/session storage polyfill
Diffstat (limited to 'client/src/standalone')
-rw-r--r-- | client/src/standalone/videos/test-embed.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/standalone/videos/test-embed.ts b/client/src/standalone/videos/test-embed.ts index 301c95d7b..a28a83cc1 100644 --- a/client/src/standalone/videos/test-embed.ts +++ b/client/src/standalone/videos/test-embed.ts | |||
@@ -15,6 +15,8 @@ window.addEventListener('load', async () => { | |||
15 | ? `/video-playlists/embed/${elementId}?api=1` | 15 | ? `/video-playlists/embed/${elementId}?api=1` |
16 | : `/videos/embed/${elementId}?api=1` | 16 | : `/videos/embed/${elementId}?api=1` |
17 | 17 | ||
18 | iframe.sandbox.add('allow-same-origin', 'allow-scripts', 'allow-popups') | ||
19 | |||
18 | const mainElement = document.querySelector('#host') | 20 | const mainElement = document.querySelector('#host') |
19 | mainElement.appendChild(iframe) | 21 | mainElement.appendChild(iframe) |
20 | 22 | ||