Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Allow iframes to open links

Chocobozzzf2aa2c3cca24
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 629634985b..38f2482ebb 100644
--- a/client/src/assets/player/utils.ts
+++ b/client/src/assets/player/utils.ts
@@ -124,7 +124,7 @@ function secondsToTime (seconds: number, full = false, symbol?: string) {
function buildVideoEmbed (embedUrl: string) {
return '<iframe width="560" height="315" ' +
- 'sandbox="allow-same-origin allow-scripts" ' +
+ 'sandbox="allow-same-origin allow-scripts allow-popups" ' +
'src="' + embedUrl + '" ' +
'frameborder="0" allowfullscreen>' +
'</iframe>'