Fix iframe allow-popups for oembed
This commit is contained in:
parent
ae9809a7d0
commit
6e14e40053
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ function buildOEmbed (options: {
|
||||||
thumbnailUrl = undefined
|
thumbnailUrl = undefined
|
||||||
}
|
}
|
||||||
|
|
||||||
const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts" ` +
|
const html = `<iframe width="${embedWidth}" height="${embedHeight}" sandbox="allow-same-origin allow-scripts allow-popups" ` +
|
||||||
`title="${embedTitle}" src="${embedUrl}" frameborder="0" allowfullscreen></iframe>`
|
`title="${embedTitle}" src="${embedUrl}" frameborder="0" allowfullscreen></iframe>`
|
||||||
|
|
||||||
const json: any = {
|
const json: any = {
|
||||||
|
|
Loading…
Reference in a new issue