mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-24 14:11:29 +01:00
Set iframe feature policy of fullscreen for apps running in iframe
This commit is contained in:
parent
3742a44321
commit
94877851c1
@ -240,6 +240,10 @@ var fw_browser = (function(){ "use strict"; return Class.extend(
|
|||||||
//Postpone the actual "navigation" - gives some speedup with internet explorer
|
//Postpone the actual "navigation" - gives some speedup with internet explorer
|
||||||
//as it does no longer blocks the complete page until all frames have loaded.
|
//as it does no longer blocks the complete page until all frames have loaded.
|
||||||
window.setTimeout(function() {
|
window.setTimeout(function() {
|
||||||
|
//set iframe resource permissions
|
||||||
|
self.iframe.setAttribute('allow', 'fullscreen');
|
||||||
|
self.iframe.setAttribute('allowfullscreen', true); // for older browsers
|
||||||
|
|
||||||
//Load the iframe content
|
//Load the iframe content
|
||||||
self.iframe.src = _url;
|
self.iframe.src = _url;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user