mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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
|
||||
//as it does no longer blocks the complete page until all frames have loaded.
|
||||
window.setTimeout(function() {
|
||||
//set iframe resource permissions
|
||||
self.iframe.setAttribute('allow', 'fullscreen');
|
||||
self.iframe.setAttribute('allowfullscreen', true); // for older browsers
|
||||
|
||||
//Load the iframe content
|
||||
self.iframe.src = _url;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user