Skip to main content
Chemistry LibreTexts

5.8: H5P

  • Page ID
    212204
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    H5P is a free and open-source content collaboration framework based on JavaScript. H5P is an abbreviation for HTML5 and aims to make it easy for everyone to create, share and reuse interactive HTML5 content.

    The H5P infrastructure on the LibreTexts is part of the greater ADAPT online assessment system that includes other online assessment technologies like WeBWorK and IMathAS (technology behind MyOpenMath). 

    The WebWork component is functioning independently of the greater QUERY system (e.g., https://webwork.libretexts.org/webwork2) and is available to campuses currently. Existing courses that use the system operate with the online assessment as summative (with grade/gradebook). However, the H5P system on the LibreTexts provides only formative assessments, i.e., ungraded exercises. The plan is for this to switch to summative by summer of 2020.

    Spanish H5P depot

    Nancy Ballesteros (College of the Canyons), Alejandro Lee (Santa Monica College), and Cristina Moon (Chabot) built a Spanish H5P database for their intermediate/advanced Spanish text: https://human.libretexts.org/Bookshelves/Visualizations_and_Simulations/H5P_Library/Intermediate%2F%2FAdvanced_Spanish_H5P_Library

    Video \(\PageIndex{1}\): As part of the LibreTexts presentations for OpenEd Week 2020, Nancy Ballesteros (College of the Canyons), Alejandro Lee (Santa Monica College), and Cristina Moon (Chabot) share their experiences using the LibreTexts platform to build an intermediate Spanish language text with an accompanied H5P interactive assessment library.

    Account Needed

    To create and store H5P problems, you will need a dedicated account (contact info@libretexts.org to request one); LibreTexts instructor or developer accounts are unable create or upload H5P problems. However, all users can insert existing H5P problems into their pages.

    Adding Problems

    Once an account is constructed, you can log into the H5P server (currently a WordPress server) at https://h5p.libretexts.org/wp-login.php. After logging in, click on the "H5P Content" at the bottom of the left side bar (see below).

    clipboard_e2a8a97c12651e5ebc7a462e5931aefa1.png
    Figure \(\PageIndex{2}\): Select H5P Content. Do not edit anything else.

    You can click on "All H5P Content" to pursue the existing exercises or you can click on "Add New" to add a new exercise.

    clipboard_e005efffbbdb4f2c803e082b2df70a13f.png
    Figure \(\PageIndex{3}\): Adding new H5P exercise.

    There are a range of different exercise types that you can select from and you can review the H5P server (https://h5p.org/ and https://h5p.org/content-types-and-applications) for examples of them. Many other sites on the internet also provide similar examples.

    Once a problem is created, it is assigned a ID # (Figure \(\PageIndex{4}\)).

    clipboard_e8eb24052bfc76beb1c05a7eff3ee9f8f.png
    Figure \(\PageIndex{4}\): Existing assessments on the H5P server

    Adding to a LibreTexts Page

    Problems are added to any LibreTexts page based off of the ID# only. For example, Cristina Moon's exercise ID#127 is embedded in a page on the Humanities library: https://human.libretexts.org/Bookshelves/Visualizations_and_Simulations/H5P_Library/Intermediate%2F%2FAdvanced_Spanish_H5P_Library/Pluscuamperfecto_del_indicativo_actividad_3%3A_fill_in_the_blanks (Figure \(\PageIndex{5}\)).

    clipboard_efa1a642de782eb48f0233a4577853c51.png
    Figure \(\PageIndex{5}\): H5P assessment that is embedded in a LibreTexts page in viewing mode

    The underlying code that embedded this is simple one line code.

    clipboard_edb1c26381781608a31aafe5ad61d9e71.png
    Figure \(\PageIndex{6}\): H5P assessment that is embedded in a LibreTexts page in edit mode

    This code is available on all LibreTexts libraries via the "Templates" option under the "Elements" menu (Figure \(\PageIndex{7}\)).

    clipboard_e2f69d1d35dd47a21b8449dfb414b53cd.png
    Figure \(\PageIndex{7}\): H5P Embedding code is available via the Template menu.

    After inserting the code, all you need to do is manually edit the code to the ID of the exercise you desire (e.g., add your ID# in lieu of "127" in Figure \(\PageIndex{6}\)).

    Perusing the QUERY Gallery

    under construction


    5.8: H5P is shared under a CC BY 1.3 license and was authored, remixed, and/or curated by LibreTexts.

    • Was this article helpful?