> For the complete documentation index, see [llms.txt](https://helpdesk.ldtsoft.work/ldt-online-course/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-lesson-with-direct-video-upload.md).

# How to Create a Lesson with Direct Video Upload

Upload a video lesson, add chapters and subtitles, and control playback settings

Upload a video to a lesson, let the app transcode it, then set the thumbnail, chapters, subtitles and playback rules students must follow.

### 1. Open the lesson editor

In Shopify admin, open **Apps** -> **LDT Online Courses** -> **Courses**, choose the course, the module and the lesson.

![The course and module list with the lesson selected](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-d32b97170fa5cca9b2ae22ea88bed6082692fefe%2Fhow-to-create-a-lesson-with-direct-video-upload-course.png?alt=media)

### 2. Add the video block and select the file

Scroll to **Contents** and click **Add new content**. Choose **Video**, click **Add**, then upload/select the video file for this lesson. The block shows the file name, its type and size; the pencil icon replaces the file and the trash icon removes the block.

![The lesson Contents with the video block and its file](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-d4292f0718e59441357348f3d31de0a200a2f2c6%2Fhow-to-create-a-lesson-with-direct-video-upload-video-block.png?alt=media)

### 3. Configure the video and save

Use the tabs under the video block:

* **General** — **Student have to finish video before complete the lesson** (and **Minimum watch time** when enabled) plus **Adaptive streaming & optimization** with **Generate quality version**.
* **Thumbnail** — **Upload thumbnail** picks the image shown before playback.
* **Chapters** — **Add chapter** takes a start time and a title.
* **Subtitles** — **Add subtitle** takes a language and a `.vtt`/`.srt`; **Generate translations** translates a published subtitle with AI.

![The Thumbnail tab with Upload thumbnail](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-fd4b8cee310b5e7b291baa187791d40cb48af45c%2Fhow-to-create-a-lesson-with-direct-video-upload-thumbnail.png?alt=media)

![The Chapters tab with Add chapter](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-fde00ffd0cf2616072eaf07b9ad8381565da1c3c%2Fhow-to-create-a-lesson-with-direct-video-upload-chapters.png?alt=media)

![The Subtitles tab with Add subtitle and Generate translations](https://3532245007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuRJ3j93eHyen8t2flj5y%2Fuploads%2Fgit-blob-d6c4d552a0b3ceefe5d41751edc0d5ed949071aa%2Fhow-to-create-a-lesson-with-direct-video-upload-subtitles.png?alt=media)

Save the lesson with the **Unsaved changes -> Save** bar if it appears, then use **Preview** to check playback and the settings.

### Result

The lesson plays the uploaded video, with the quality versions the app generated, the thumbnail, chapters and subtitles you set. The file is also in **Files**, where it can be replaced later without changing the lesson.

### Troubleshooting

* **The video is still processing.** Wait for the quality versions; a large file takes longer. Do not upload it twice — select the existing file when it finishes.
* **No video is shown in the lesson.** Open the block and check that a file is selected; saving without one leaves the block empty.
* **The thumbnail does not change.** Save the lesson and reload; the old image can stay cached.
* **Chapters are ignored.** Each chapter needs a start time within the video and a title.
* **Subtitles do not appear.** Check the student's language, that the subtitle is published, and that the file is valid `.vtt`/`.srt`.

### Related pages

* [How to manage your files library](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-manage-your-files-library.md)
* [How to translate subtitles with AI](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-translate-subtitles-with-ai.md)
* [How to Create a Lesson with a Downloadable PDF for Students](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-lesson-with-a-downloadable-pdf-for-students.md)
* [How to Create a Live Lesson with Zoom Integration](https://helpdesk.ldtsoft.work/ldt-online-course/build-your-course/how-to-create-a-live-lesson-with-zoom-integration.md)
