Included allowfullscreeninteractive param when loading the swf file in chrome

This commit is contained in:
Pedro Beschorner Marin 2017-08-22 19:36:02 +00:00
parent 2dabc95f9c
commit 5a388961d7
2 changed files with 7 additions and 12 deletions

View File

@ -98,7 +98,7 @@
var fillContent = function(){ var fillContent = function(){
var content = document.getElementById("content"); var content = document.getElementById("content");
if (content) { if (content) {
content.innerHTML = '<object type="application/x-shockwave-flash" id="BigBlueButton" name="BigBlueButton" tabindex="0" data="BigBlueButton.swf?v=VERSION" style="position: relative; top: 0.5px;" width="100%" height="100%" align="middle"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF"><param name="allowfullscreen" value="true"><param name="wmode" value="window"><param name="allowscriptaccess" value="true"><param name="seamlesstabbing" value="true"></object>'; content.innerHTML = '<object type="application/x-shockwave-flash" id="BigBlueButton" name="BigBlueButton" tabindex="0" data="BigBlueButton.swf?v=VERSION" style="position: relative; top: 0.5px;" width="100%" height="100%" align="middle"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF"><param name="allowfullscreen" value="true"><param name="allowfullscreeninteractive" value="true"><param name="wmode" value="window"><param name="allowscriptaccess" value="true"><param name="seamlesstabbing" value="true"></object>';
} }
}; };
} else { } else {

View File

@ -267,12 +267,6 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
} }
copyrightLabel2.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCopyrightLabelDimensions); copyrightLabel2.addEventListener(FlexEvent.UPDATE_COMPLETE, updateCopyrightLabelDimensions);
// Show fullscreen button only on Firefox
var browser:Array = ExternalInterface.call("determineBrowser");
if (browser[0].toString().toLowerCase() == "firefox") {
fullScreenBtn.visible = fullScreenBtn.includeInLayout = true;
}
} }
// See this stackoverflow post for an explanation on why the size watching is done this way, https://stackoverflow.com/a/2141223 // See this stackoverflow post for an explanation on why the size watching is done this way, https://stackoverflow.com/a/2141223
@ -1101,10 +1095,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
styleName="logsButton" styleName="logsButton"
click="openLogWindow()"/> click="openLogWindow()"/>
<mx:HBox id="addedBtns" /> <mx:HBox id="addedBtns" />
<mx:Button id="fullScreenBtn" styleName="fullScreenButton" <mx:Button id="fullScreenBtn"
width="30" height="30" width="30"
visible="false" includeInLayout="false" height="30"
toolTip="{ResourceUtil.getInstance().getString('bbb.mainshell.fullscreenBtn.toolTip')}" toolTip="{ResourceUtil.getInstance().getString('bbb.mainshell.fullscreenBtn.toolTip')}"
click="toggleFullScreen()" /> styleName="fullScreenButton"
click="toggleFullScreen()"/>
</mx:ControlBar> </mx:ControlBar>
</mx:VBox> </mx:VBox>