Revert changes for canHasFullScreen

HFP-339
improved-embed-and-download^2
Timothy Lim 2016-12-13 19:46:21 +01:00
parent f0d65d4f9d
commit bbe16fb8da
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ H5P.init = function (target) {
* @deprecated since version 1.11
* @type {boolean}
*/
H5P.canHasFullScreen = HFP.fullscreenSupported;
H5P.canHasFullScreen = (H5P.isFramed && H5P.externalEmbed !== false) ? ((document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled) ? true : false) : true;
}
// H5Ps added in normal DIV.