
# 2.3: Adding H5P Problems to LibreTexts


Adding interactive problems/activities using H5P, WeBWorK, MyOpenMath or straight from the LibreStudio (H5P), Query, or Adapt can make your LibreTexts more interactive and provide immediate feedback to students on their understanding.  Note that Adapt is a full online homework system that will allow you to grade student work, either completed in the Adapt interface or right in your LibreTexts.  But this tutorial is focused on how to use these problems in a formative, non-graded way.

In this tutorial, we will cover how to add formative (concept check) H5P activities to your pages.  First we'll cover how you can review the available H5P elements in the LibreStudio library, although there are not many math problems there yet.  Then, although it is beyond the scope of this tutorial, we will briefly discuss how you can locate and import H5P activities you find elsewhere or even create your own H5P elements to add to the library!

Note that there are not yet any math H5P activities/problems in Query, although this is one place you'll find available WeBWorK problems.  In fact, since we have LibreStudio, we will not need to use Query for H5P activities.

Also note that this page is an expanded version of Section 5.7 in the Construction Guide that is focused on the LibreTexts Math library.

## Browsing H5P Activities in LibreStudio

You can browse existing H5P content on LibreStudio and insert selected H5P activities into your LibreTexts pages without logging in.

Go to: https://studio.libretexts.org. You can use the filters shown on the left to narrow the search.  If you select Mathematics, you will find at least two problems.  Clicking on the title of a problem, you will see a column of attributes.  In order to insert an H5P activity into a LibreTexts page, we will need the H5P ID number shown at the bottom of this list.  See the figure below.

## Inserting an H5P Activity into a LibreTexts Page

The H5P template lets authors embed the H5P activity into a page (page > elements > template).

Once the template is added to the page, all you have to do is change the ID number of the activity here to the one you located in the previous step (in the place of 5 in below template).

## Logging in to LibreStudio

In order to import or create new H5P activities on LibreStudio, you will need to log in using a user account.  If you do not yet have an account, you can register for one here: https://studio.libretexts.org/user/register using this LibreStudio registration code: "LibreFest2021"

We are in the process of tying all components of the LibreVerse together into one central authentication, but for now individual accounts are needed.

## Importing H5P Activities into LibreStudio

Many H5P activities have been created for math on other H5P servers around the world.  A Google search for H5P and Math will bring up a number of places to search.  If you find an H5P activity you'd like to use or modify, most have a Reuse link to download it to your computer.  You can then import the activity into LibreStudio by clicking on the New H5P button and then selecting the Upload option instead of Create Content.  See Figures $$\PageIndex{4}$$ and $$\PageIndex{5}$$ below.

You can then use the Upload a file button to upload the H5P activity you saved to your computer from another location on the web.  Note that you have a few options for what action items and information the H5P activity will display.  If you import activities created by others, please be sure to give the authors proper credit.

Once you've imported an activity, you can either insert it into your LibreText as described above or you can modify it before doing so.

To modify an H5P activity you have either created or imported, use the Author menu to go to your Author Dashboard.  Then locate the H5P activity you'd like to modify and click on the Edit this resource button near the right side of the activity object.

## Creating New H5P Activities in LibreStudio

In the likely event you cannot find a problem that does exactly what you have in mind, you can create your own H5P activities right in LibreStudio!

See the H5P project site (https://h5p.org/) for full instructions on this process, and look at example problems there, in LibreStudio, sand elsewhere to get ideas.

You will use the New H5P button in Figure $$\PageIndex{4}\ above and then follow the instructions on the H5P site to create a new activity using the Create Content option, as shown in Figure \(\PageIndex{6}\. ## Example H5P Activities 1. A Divergence problem from Calculus 3 (by Paul Seeburger). Query \(\PageIndex{1}$$

2.  A group of algebra problems presented as one H5P activity (by Bob Belford).

Query $$\PageIndex{1}$$

2.3: Adding H5P Problems to LibreTexts is shared under a CC BY-SA license and was authored, remixed, and/or curated by Paul Seeburger.