mirror of https://github.com/Chocobozzz/PeerTube
Allow iframes to open links
parent
0a9131f961
commit
f2aa2c3cca
|
@ -124,7 +124,7 @@ function secondsToTime (seconds: number, full = false, symbol?: string) {
|
||||||
|
|
||||||
function buildVideoEmbed (embedUrl: string) {
|
function buildVideoEmbed (embedUrl: string) {
|
||||||
return '<iframe width="560" height="315" ' +
|
return '<iframe width="560" height="315" ' +
|
||||||
'sandbox="allow-same-origin allow-scripts" ' +
|
'sandbox="allow-same-origin allow-scripts allow-popups" ' +
|
||||||
'src="' + embedUrl + '" ' +
|
'src="' + embedUrl + '" ' +
|
||||||
'frameborder="0" allowfullscreen>' +
|
'frameborder="0" allowfullscreen>' +
|
||||||
'</iframe>'
|
'</iframe>'
|
||||||
|
|
Loading…
Reference in New Issue