LifterLMS Video Not Playing? How to Fix Lesson Videos
Work out why a LifterLMS lesson video is blank, blocked or will not play: wrong embed URLs, privacy and domain settings, referrer policies…
Read articleA student emails to say their progress has vanished. Another says the progress bar is stuck at 80% although they finished every lesson. Your reports disagree with what students see. When LifterLMS progress is not saving, or seems not to be, the cause is usually one of a handful of specific things, and most of them leave clues you can check.
This guide explains how LifterLMS records progress, then works through the problems we see most: percentages that go stale, completions that never reached the database, quiz answers that were not recorded, and progress lost during a site move. It ends with how to repair a student's record.
If the problem is a Mark Complete button that does nothing or is missing, start with our guide to lessons not marking complete. This article picks up where that one stops.
Progress is not one number. It is built from several records:
| What | Where it lives |
|---|---|
| Each completed lesson, section and course | The wp_lifterlms_user_postmeta table, as _is_complete rows with a timestamp |
| Enrollment status and dates | The same table |
| Quiz attempts and answers | The wp_lifterlms_quiz_attempts table |
| Time spent on lessons (10.1 and later) | The wp_lifterlms_lesson_time_sessions table |
| Cached course and section percentages for each student | User meta, as llms_course_{ID}_progress and llms_section_{ID}_progress |
| Cached overall progress and grade | User meta, as llms_overall_progress and llms_overall_grade |
| Course averages shown in reporting | Course meta, recalculated in the background |
The course percentage is simple: completed lessons divided by total lessons. Quizzes and assignments count only through the lesson they belong to. A lesson with a quiz becomes complete when the quiz rules are met, and only then does the percentage move.
The table shows why "progress not saving" has several meanings. The completion rows can be correct while a cached percentage is out of date, or a report can lag behind both. Our LifterLMS data model guide covers these tables in more depth.
This is the most common "progress is wrong" report, and it is caused by the cache. LifterLMS caches each student's course percentage in user meta. The cache is cleared when that student's completion status changes for something in the course. It is not cleared when you add, delete or move lessons.
So if you add two lessons to a ten-lesson course, a student who had finished all ten still sees 100% until they complete or un-complete something. Another student might see an old figure that no longer matches the lessons they can see. Removing a lesson has the opposite effect.
The Student Progress Cache tool under LifterLMS > Status > Tools & Utilities clears the cached overall progress and grade for all students, which are regenerated on the next view. It does not clear the per-course percentages. To reset those for one course after a restructure, a developer can run this once (replace 123 with the course ID):
wp eval 'delete_metadata( "user", 0, "llms_course_123_progress", "", true );'
Or put the same logic in a small function so it runs whenever you need it:
function llmsx_reset_course_progress_cache( $course_id ) {
$course = llms_get_post( $course_id );
if ( ! $course instanceof LLMS_Course ) {
return;
}
delete_metadata( 'user', 0, sprintf( 'llms_course_%d_progress', $course_id ), '', true );
foreach ( $course->get_sections( 'ids' ) as $section_id ) {
delete_metadata( 'user', 0, sprintf( 'llms_section_%d_progress', $section_id ), '', true );
}
delete_metadata( 'user', 0, 'llms_overall_progress', '', true );
}
Deleting these cached values is safe. LifterLMS recalculates them from the completion records the next time it needs them. Completion records themselves are not touched. Run it on staging first if you have custom code that reads these keys.
Also bear in mind that a course a student already completed stays completed when you add lessons. Decide whether that is what you want before restructuring a live course.
If the student's record in reporting shows the lesson as not completed, the completion was never saved. The usual reasons:
Quiz answers are saved one question at a time in the background as the student moves through the quiz. Two error messages point to specific causes:
admin-ajax.php, a JavaScript optimisation plugin interfering with the quiz scripts, or a server error in the PHP log at that time.An attempt that was started and abandoned stays incomplete and may still count towards the attempt limit. You can review an attempt, and remove it with Delete Attempt, from the quiz's reporting screens. For grading questions, see fixing LifterLMS quiz problems.
When many students lose progress at once, look at what happened to the database rather than at LifterLMS.
lifterlms_; confirm they exist on the new site and have the expected number of rows.Our LifterLMS migration guide includes a checklist for moving a live site without losing learner data.
Course-level averages and enrollment counts in LifterLMS > Reporting are recalculated by a background job, not on every page view. If WP-Cron is not running, those figures can be days old while the student's own dashboard is correct. Our guide to LifterLMS cron problems shows how to check.
Use this for individual corrections. For dozens of students, a developer can use the llms_mark_complete() function in a script or the REST API's student progress route, with a test on staging first so engagements do not flood inboxes.
No. Completion records stay in the database when an enrollment ends, so a student who is enrolled again picks up where they left off.
The cached percentage may be stale after a course change, or a final lesson's quiz requirement may still be unmet. Clear the cache for that course and check the last lesson in reporting.
Not in core. Lesson completion is a separate step from watching. The paid Advanced Videos add-on can require video completion and resume playback.
Yes. The student's course report shows completion dates, and the same data is available through the REST API.
Open the affected student in reporting and compare it with what they see. If reporting is right and the student's view is wrong, clear the cached percentage. If reporting is wrong too, work through problems 2 to 4 above.
If progress has been lost across many students, or you need a bulk repair without triggering hundreds of emails, our LifterLMS support team can recover and correct the data, and our development team can build safer workflows for course changes. Contact us with the course and an example student.
Work out why a LifterLMS lesson video is blank, blocked or will not play: wrong embed URLs, privacy and domain settings, referrer policies…
Read article
Why LifterLMS reporting screens, exports and admin pages slow down as enrollments grow, how to measure what is actually slow, and the fixes that…
Read article
Which LifterLMS jobs depend on WP-Cron and the Action Scheduler, how to tell whether your scheduler is broken, and how to replace unreliable WP-Cron…
Read articleSkip the trial and error. Get specialist LifterLMS help and ship faster.