Kaltura hosts your videos and playlists outside WordPress. This guide shows how to play a Kaltura playlist or video inside an Academy LMS lesson.
Table of contents
Overview
The Kaltura add-on adds Kaltura to the Video Source list of a lesson. Paste the embed code from Kaltura and the lesson plays the playlist or single video on the learn page.
What you need
What you can paste
Paste any one of these. Academy reads the same three values from each.
<iframe> code from Kaltura.src.Academy keeps the Partner ID, Player ID and Playlist ID (or Entry ID for a single video) and drops the rest. It does not save or run the script you pasted, so the lesson page never loads a Kaltura script. It plays Kaltura’s own iframe instead.
Install the add-on
Download the Academy LMS – Kaltura Video from here.
Go to Plugins → Add New → Upload Plugin, choose the add-on zip and click Install Now, then Activate Plugin. The add-on then shows as active in the plugin list.
1 The add-on is installed and active.
Check that it worked: open any lesson and look for Kaltura in the Video Source list. If you do not see it, confirm Academy LMS is active and up to date. With Academy LMS inactive, the add-on shows a warning at the top of the admin screen.
Get the embed code from Kaltura
In your Kaltura Management Console, open the playlist (or the video) and click Share & Embed. The button may read Preview & Embed in some Kaltura versions.
Choose your player, set Embed Type to Dynamic Embed (or Iframe Embed), and click Copy embed code.
Make sure the playlist can be played without extra restrictions. Kaltura’s domain restriction does not work with iframe embeds, so a player that only allows listed domains will not load in the lesson.
Add the video to a lesson
Go to Academy LMS → Lessons and click Add New Lesson, or open an existing lesson. Under Lesson Settings, open the Video Source list and select Kaltura.
1 Open the Video Source list. 2 Select Kaltura.
Paste the embed code into the field below it. The field reads “Kaltura playlist or video embed code, iframe code or iframe link” until you paste. A box titled Not available for Kaltura videos appears under the field. See Completion and limits.
1 Kaltura is selected. 2 Paste the embed code in this field. 3 Features not available for Kaltura videos.
1 The pasted embed code. 2 Save the lesson.
Click Publish Lesson for a new lesson, or Update Lesson for an existing one. After you save, the field shows only Kaltura’s player address. This is expected: the pasted code is not saved.
1 After saving, the field holds Kaltura’s player address.
If you paste something that is not a Kaltura player code, the field is empty after saving. Check that the code comes from cdnapisec.kaltura.com or cdnapi.kaltura.com, uses https://, and has matching Partner and Player IDs.
To add the lesson to a course, open the course in the course builder, go to Builder, and add the lesson to a curriculum.
What students see
An enrolled student opens the course and selects the lesson from the Course content sidebar. The Kaltura player shows at the top of the lesson. For a playlist, the player has a panel that lists every video, with the playlist name, the number of videos and the total time. Select a video in the panel to play it. The player has its own fullscreen button and controls.
1 The lesson in Course content. 2 The Kaltura player. 3 The playlist panel.
Completion and limits
Kaltura plays inside its own frame, so Academy cannot see how much of the video a student has watched. Some Academy video features are therefore not available for Kaltura lessons. The Not available for Kaltura videos box in the lesson editor lists them.
Not available
Set a minimum watch time
To stop students from completing a Kaltura lesson at once, use a minimum time instead. Go to Academy LMS → Settings → Pages → Learn Page and set Minimum Watch Time for Embedded Videos (seconds). The student can mark the lesson complete only after it has been open for that many seconds. Leave it at 0 for no limit. This setting applies to all embedded videos, not only Kaltura.
1 Settings → Pages → Learn Page. 2 Minimum Watch Time for Embedded Videos (seconds).
Course intro video
The Kaltura source is for lessons only. For the intro video of a course, set the video type to Embedded and paste Kaltura’s iframe embed code. Academy LMS 4.1.3 and later allows kaltura.com iframes.
Open the lesson as a student to check how it looks.