Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.
   1  <!doctype html>
   2  <html lang="<?php print $lang; ?>" class="h5p-iframe">
   3  <head>
   4    <meta charset="utf-8">
   5    <title><?php print $content['title']; ?></title>
   6    <?php for ($i = 0, $s = count($scripts); $i < $s; $i++): ?>
   7      <script src="<?php print $scripts[$i]; ?>"></script>
   8    <?php endfor; ?>
   9    <?php for ($i = 0, $s = count($styles); $i < $s; $i++): ?>
  10      <link rel="stylesheet" href="<?php print $styles[$i]; ?>">
  11    <?php endfor; ?>
  12    <?php if (!empty($additional_embed_head_tags)): print implode("\n", $additional_embed_head_tags); endif; ?>
  13  </head>
  14  <body>
  15    <div class="h5p-content" data-content-id="<?php print $content['id']; ?>"></div>
  16    <script>
  17      H5PIntegration = <?php print json_encode($integration); ?>;
  18    </script>
  19  </body>
  20  </html>