Add allowfullscreen to iframe embedding options
This commit is contained in:
@@ -56,7 +56,8 @@ let embed_iframe = () => {
|
||||
|
||||
embed_html = `<iframe ` +
|
||||
`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>`
|
||||
}
|
||||
let embed_hotlink = () => {
|
||||
|
@@ -24,7 +24,8 @@ let embed_iframe = file => {
|
||||
let url = domain_url()+"/d/"+file.id
|
||||
embed_html = `<iframe ` +
|
||||
`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>`
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user