A course player still ships chapter-unlock and completion rules in the browser
A modern course player looks like a video page with a lesson list. Under the surface it is a small rules engine. It decides when the next chapter unlocks, whether a quiz can be retried, how much watch time counts as complete, and whether a certificate can be issued.