KB1204 - Using your Kaltura video in an H5P project

Body

In Moodle, it's possible to create multi-slide quizzes, branching lessons, or presentations that incorporate video using H5P activities.
For example, using the H5P Interactive Video activity, you can quiz your Student viewers while they are watching your video.

It's common to use a "share link" (the URL) of a video stored in YouTube for this kind of activity, but you can also use any video that you've stored in VCC's Kaltura media repository.
Using your Kaltura video requires a few preparatory steps to create a URL that H5P can use.
Read on:

You can ask eLearning Support to help you build the video URL

To ask eLearning Support to assist you, please submit a Moodle support ticket using our online eLSupport request form.
In your eLSupport ticket, please provide the Kaltura "Entry ID" code of the video you want to use. (Each video stored in Kaltura gets its own unique Entry ID code.)

How to find the Kaltura Entry ID code of a Kaltura video:
  1. Go to VCC's MediaSpace repository at https://mediaspace.vcc.ca
  2. Find your video in your "My Media" folder in Kaltura, and click on it so that you are viewing it and its details.
  3. Click on the "Share" tab, and provide us the last 10 characters in the share URL, located after the last forward slash:
    e.g. In the sharing URL "https://mediaspace.vcc.ca/media/0991_Film_Lesson_01_Innocents/0_lqy6gzt2"
    please provide us with the part after the last slash: 0_lqy6gzt2

You can try building the video URL yourself

For your Kaltura video to work in H5P, you must construct a new URL that looks like this:

https://api.ca.kaltura.com/p/136/sp/13600/playManifest/entryId/0_lqy6gzt2/format/url/

...where the characters after the part "entryId/" are Kaltura's unique Entry ID for your video.
In the above URL, the Entry ID is 0_lqy6gzt2

Type or copy and paste that URL exactly as you see it here into a new browser window, and you'll see the "Innocents" film clip appear in a video player. 

Creating an H5P-friendly URL:

  1. Replace those Entry ID characters with the unique Kaltura Entry ID of your own video
  2. To test it, paste the whole URL into a browser address bar and hit Enter. You should see your video display in the browser.
  3. IMPORTANT: Once you can view your video playing from that custom URL, have a second look at the URL in the browser: It will now have changed to have an ".mp4" or ".mov" at the end (Kaltura's API automatically does that).
  4. That new URL with the mp4 or mov at the end is the one that you must paste into your H5P project.
NOTE: This method won't work if the Kaltura video you want to use was added as a "YouTube" type. In other words, you can only use this tactic to get an H5P-friendly URL if your video was uploaded using "Media Upload" or if it was captured using the Kaltura Capture application.

Notes:

  • The URL you construct above is an example of Kaltura's Application Programming Interface (API), specifically the "playmanifest" method, which delivers a video via a URL.

Related Resources:

Details

Details

Article ID: 155
Created
Thu 12/5/19 2:28 PM
Modified
Mon 6/12/23 2:20 PM