aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-27 13:04:36 +0100
committerChocobozzz <me@florianbigard.com>2019-12-27 13:04:36 +0100
commitf2aa2c3cca2433d89ba80b1c2b64ea6c4b95fe66 (patch)
treee60fe63117adaa12f1be5492b14e0cb4942ffec1 /client/src/assets
parent0a9131f9615e0aa26ec26c1739fce3aca9fca43f (diff)
downloadPeerTube-f2aa2c3cca2433d89ba80b1c2b64ea6c4b95fe66.tar.gz
PeerTube-f2aa2c3cca2433d89ba80b1c2b64ea6c4b95fe66.tar.zst
PeerTube-f2aa2c3cca2433d89ba80b1c2b64ea6c4b95fe66.zip
Allow iframes to open links
Diffstat (limited to 'client/src/assets')
-rw-r--r--client/src/assets/player/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts
index 629634985..38f2482eb 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) {
124 124
125function buildVideoEmbed (embedUrl: string) { 125function buildVideoEmbed (embedUrl: string) {
126 return '<iframe width="560" height="315" ' + 126 return '<iframe width="560" height="315" ' +
127 'sandbox="allow-same-origin allow-scripts" ' + 127 'sandbox="allow-same-origin allow-scripts allow-popups" ' +
128 'src="' + embedUrl + '" ' + 128 'src="' + embedUrl + '" ' +
129 'frameborder="0" allowfullscreen>' + 129 'frameborder="0" allowfullscreen>' +
130 '</iframe>' 130 '</iframe>'