From bbe16fb8daf38b2fac32df0889d98c1c31cd8ea5 Mon Sep 17 00:00:00 2001 From: Timothy Lim Date: Tue, 13 Dec 2016 19:46:21 +0100 Subject: [PATCH] Revert changes for canHasFullScreen HFP-339 --- js/h5p.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/h5p.js b/js/h5p.js index b49f412..559b80b 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -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.