aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/videos/test-embed.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/videos/test-embed.ts')
-rw-r--r--client/src/standalone/videos/test-embed.ts2
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