diff --git a/h5p.classes.php b/h5p.classes.php index 76ef4f4..f63d706 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -15,6 +15,7 @@ interface H5PFrameworkInterface { */ public function getPlatformInfo(); + /** * Fetches a file from a remote server using HTTP GET * diff --git a/js/h5p.js b/js/h5p.js index 7b0e1d3..8f06199 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -141,6 +141,7 @@ H5P.init = function (target) { }); }); } + if (!(contentData.disable & H5P.DISABLE_ABOUT)) { // Add about H5P button icon H5P.jQuery('
  • ').appendTo($actions);