Allow iframes to open links

pull/2367/head
Chocobozzz 2019-12-27 13:04:36 +01:00
parent 0a9131f961
commit f2aa2c3cca
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -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>'