Allow iframes to open links
This commit is contained in:
parent
0a9131f961
commit
f2aa2c3cca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue