ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix iframe allow-popups for oembed
Chocobozzz6e14e4005396
diff --git a/server/controllers/services.ts b/server/controllers/services.tsindex 8a8a954860..9151e1b04e 100644--- a/server/controllers/services.ts+++ b/server/controllers/services.ts@@ -98,7 +98,7 @@ function buildOEmbed (options: {thumbnailUrl = undefined}- const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts" ` ++ const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts allow-popups" ` +`title="${embedTitle}" src="${embedUrl}" frameborder="0" allowfullscreen></iframe>`const json: any = {