Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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>