CourseLayer Logo
DocumentationCurriculum

Lectures

Lectures are the core learning units in a course. Each lecture can contain video and text content, along with optional downloadable files and custom fields for additional structure.


Creating a Lecture

  1. Navigate to the Curriculum Tab.
  2. Click "Add Lecture" under a section.
  3. Enter a Lecture Title and click Create.
  4. The lecture will be unpublished by default.

Lecture Content

Video vs. Text-Only Lectures

  • By default, lectures assume a video format.
  • To make a lecture text-only, enable the "Text Only Lecture" toggle.
  • Video and text can coexist in the same lecture.

Rich Text Editor

The description field supports: ✅ Text formatting – Bold, italics, headers
Media – Images, videos, file attachments
Links & Embeds – External content integration

💡 Note: Image uploads are automatically resized, with a max file size of 100MB.

  • Admins can attach supporting files for students to download.
  • No limit on the number of files.
  • Files over 500MB – 1GB may take longer to upload.

Custom Fields

Custom fields extend lecture content beyond the default structure.

Available Field Types:

  • Input – Single-line text input

  • Textarea – Multi-line text input

  • Number – Stores numerical values

  • Select – Dropdown with predefined options

  • Boolean – Toggle between on/off

  • Custom fields can be added, removed, or edited later.

  • All fields are available in the API for frontend rendering.


Publishing & Visibility

  • New lectures are unpublished by default.
  • Published lectures can be unpublished later.
  • Unpublished lectures remain visible in the admin panel but are hidden from students.