aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/services.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-07 11:06:57 +0100
committerChocobozzz <me@florianbigard.com>2021-12-07 11:06:57 +0100
commitd9f9804d8642b11001cb75aaef597e12825abe21 (patch)
tree3c15e37e38142bebe7ed298ffe3c5c7f15b09da8 /server/controllers/services.ts
parent80badf493afca026bc542260f353210e605a1715 (diff)
parent6e14e40053961cf0b2f55710847f21a3e1b5b627 (diff)
downloadPeerTube-d9f9804d8642b11001cb75aaef597e12825abe21.tar.gz
PeerTube-d9f9804d8642b11001cb75aaef597e12825abe21.tar.zst
PeerTube-d9f9804d8642b11001cb75aaef597e12825abe21.zip
Merge branch 'release/4.0.0' into develop
Diffstat (limited to 'server/controllers/services.ts')
-rw-r--r--server/controllers/services.ts2
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 = {