How to publish a required Moodle video with a playback target

ShareWhatsAppLinkedInFacebook
Playing this video connects to YouTube. Watch the full video on YouTube.

You want Moodle to mark a video activity complete when a learner has played at least 75% of it. Before announcing the lesson, open it with two different accounts. Staff preview is useful for checking the recording. An enrolled learner account lets you test what Moodle actually saves.

Prepare the course and add the recording

  1. Sign in with course editing rights. Open the course settings and make sure completion tracking is enabled. If the setting is unavailable, check with your site administrator before building the activity.
  2. Turn on edit mode. In the section where learners will find the task, add an activity and choose Media Progress. Give it a name that will still make sense when it appears in the course report.
  3. Upload the MP4 as the recording source. For an audio lesson you can use an MP3 instead. Under the cover and transcript settings, attach the matching WebVTT file. If you have several edits of the recording, make sure the transcript belongs to the one you just uploaded.

Use one completion condition for the first test

The walkthrough enables full player controls so that learners can move between passages. Under Activity completion, choose to add requirements, enable the playback percentage condition and enter 75. Leave it as the only condition for this trial. You will be able to tell exactly which action changed the completion status. Save and display the activity.

Moodle activity completion with Require a playback percentage selected and set to 75.
Set the 75% target in the activity’s completion conditions.

Check the lesson from a learner’s account

In staff preview, play a few seconds and open a timed passage. Then use a separate browser profile to sign in as an enrolled learner who has never opened the activity. Enter from the course page. Look for an initial progress value and the 75% target beside the player. Play a section, leave and reopen the lesson to check that progress was saved. If the video plays but the requirement is missing, revisit course and activity completion. If the transcript is missing, check the uploaded file before changing the percentage.

Elena’s lesson player with the recording and playback requirement on screen.
Opening the lesson as Elena shows what an enrolled learner receives.
Scroll to Top