courses-player
One lesson, for a holder (stage 42): a video with its captions that resumes where it was left, a page of text, a download, or a training session from Programs; mark done; the next lesson. What the lesson holds is the host’s (useLesson, empty without access); the video plays with a token the host signs and asks for again before it expires (usePlayback); progress is kept by the host only while the student holds the course (useProgress).
| Skin | web |
| Pack | courses |
| Add it | cos add courses-player |
| Files | player.tsx, LICENSE |
| Depends on | ui-button, content-rich-text |
| Packages | @composable-os/pack-courses |
Operations it calls
Section titled “Operations it calls”Through its hooks; the host decides what each caller may do.
Source: packs/courses/blocks/courses-player.