diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/services.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/services.ts b/server/controllers/services.ts index 8a8a95486..9151e1b04 100644 --- a/server/controllers/services.ts +++ b/server/controllers/services.ts | |||
@@ -98,7 +98,7 @@ function buildOEmbed (options: { | |||
98 | thumbnailUrl = undefined | 98 | thumbnailUrl = undefined |
99 | } | 99 | } |
100 | 100 | ||
101 | const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts" ` + | 101 | const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts allow-popups" ` + |
102 | `title="${embedTitle}" src="${embedUrl}" frameborder="0" allowfullscreen></iframe>` | 102 | `title="${embedTitle}" src="${embedUrl}" frameborder="0" allowfullscreen></iframe>` |
103 | 103 | ||
104 | const json: any = { | 104 | const json: any = { |