Add allowfullscreen to iframe embedding options
This commit is contained in:
@@ -57,6 +57,7 @@ let embed_iframe = () => {
|
|||||||
embed_html = `<iframe ` +
|
embed_html = `<iframe ` +
|
||||||
`src="${url}" ` +
|
`src="${url}" ` +
|
||||||
`style="border: none; width: 800px; max-width: 100%; height: 600px; max-height: 100%; border-radius: 8px;" ` +
|
`style="border: none; width: 800px; max-width: 100%; height: 600px; max-height: 100%; border-radius: 8px;" ` +
|
||||||
|
`allowfullscreen` +
|
||||||
`></iframe>`
|
`></iframe>`
|
||||||
}
|
}
|
||||||
let embed_hotlink = () => {
|
let embed_hotlink = () => {
|
||||||
|
@@ -25,6 +25,7 @@ let embed_iframe = file => {
|
|||||||
embed_html = `<iframe ` +
|
embed_html = `<iframe ` +
|
||||||
`src="${url}" ` +
|
`src="${url}" ` +
|
||||||
`style="border: none; width: 800px; max-width: 100%; height: 600px; max-height: 100%; border-radius: 8px; "` +
|
`style="border: none; width: 800px; max-width: 100%; height: 600px; max-height: 100%; border-radius: 8px; "` +
|
||||||
|
`allowfullscreen` +
|
||||||
`></iframe>`
|
`></iframe>`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user