Creating and Sharing H5P Activity Without a Website

If you haven’t tried H5P yet, or don’t know much about it, you can read the article Hidden Gems – H5P for Interactive Content, which describes the tool generally and gives a pretty good overview of why you might use it. For more articles about H5P, check out our entire category of H5P related posts.

What this post will help you learn
  • how to create an interactive activity with H5P using the Lumi desktop application.
  • upon creating your activity, how to get that activity into your Canvas course.
Learning Technology Used
  • Lumi Education – Authoring & Exporting
  • Canvas – Publishing


Creating an H5P Activity

Before You Begin
Note: this post will make use of a free, open source software called Lumi Education, available for Windows, macOS, and Linux. Visit https://next.lumi.education/index.html for more information and to get your own copy of Lumi.
  1. When you first open Lumi, you’ll see two options: an H5P Editor, and Lumi Analytics. This post will not discuss analytics. Click Start on the H5P Editor card.

  1. Lumi allows you to open existing .h5p files you have, such as those you download using the Reuse button on existing H5P activities. For this post, we are creating an activity from scratch, so click Create New H5P.

  1. The H5P Content Hub will appear – if this is your first time using H5P, you may be asked to connect to the H5P hub – which includes a few key features. Click on the buttons below to explore the H5P hub features.
  1. For this example, we will create a Single Choice Set activity. To do this:
    1. Click Get
    2. Click Install
    3. Finally, click Use
  1. Once you click Use on any content type you will see the content editor. Each content type varies a little bit, but many have the same key features. Click on the buttons below to explore some of those features.
  1. After inputting your content information, you can click View to see and try H5P activity for the first time. Below, you can see how our demo looked in the editor, compared to the live interactive H5P content.
  1. Finally, we need to Export our activity so that we can get it into Canvas. This will gather up all the information needed to create a single HTML file you can move around. You can even open this file in a web browser without uploading it anywhere just to try out your activity.

Publishing Your H5P Activity in Canvas

After exporting your H5P activity, you need a way to share it with your learners. You can do this by uploading that HTML file into Canvas and then linking to it from any Rich Content Editor pane. This example will show it in a page.

  1. Log into Canvas and navigate to the course you want your activity to appear in.
  2. On the course navigation, go to Files.

  1. If you are planning on using many H5P activities in your class, we strongly recommend you make an H5P folder to make finding them easy. Click +Folder, name the folder, and click the checkmark to confirm.

  1. Click the folder you just created, and either use the upload button, or simply click and drag your H5P HTML file you exported from Lumi into you H5P folder in Canvas.

I just click and dragged my new activity onto the page and voilà, it’s in the folder.

  1. Next, go to Pages and create a new page where your H5P activity will appear OR the existing page where you want it to appear. Place your cursor where you want the activity to appear, and use the rich content editor to link to Course Documents.

  1. Select your H5P activity.

  1. You’ll see a link appear that connects to the H5P activity. This works, it will link to the activity and then students can come back to the page, but what if you want it to play right there on the page? We will do a little trick with the HTML editor to get this to work.
  2. Click the HTML editor button in the lower right of your editing pane.

  1. Here you will see that your activity is in-fact, just a link.

  1. The important bit of information we need is the “href”, so we will copy everything from href= to wrap=1 including the quotation marks.

  1. Now we will delete that whole hyperlink bit, which begins with <a and ends with </a>.

  1. Now we will create an iframe that will display our H5P activity. Note some key elements we include and some we change:
    1. instead of href we use src
    2. after the file number, you can replace ?wrap=1 with /preview
    3. The width we set to 100% in this example so the activity is the whole width of the page.
    4. The height is an element you might have to play with. A height that is too short will result in a scroll bar. A height that is far too large will create a great big blank spot on your page.

  1. Click on the button in the bottom right again to go back to your rich text editor and voilà, your H5P activity displays. Don’t forget to save!