> ## Documentation Index
> Fetch the complete documentation index at: https://fayneos.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add video to a lesson

> Embed a YouTube, Vimeo, or Loom video, upload a video file, and solve common upload problems.

Add video from YouTube, Vimeo, or Loom, or upload a video file directly to a lesson.

## Add a video

1. Open **Courses** and select a course.
2. Open the lesson you want to edit.
3. Type `/` and choose **Video**.
4. Choose one option:
   * Paste a YouTube, Vimeo, or Loom link. Loom's **Copy link** URL works as is.
   * Upload an MP4, WebM, or Ogg video file.
5. Wait for the upload to finish, then save the lesson.

Uploaded videos can be up to 1 GB. Keep the editor open while the progress indicator is visible. If an upload is interrupted, use the retry option; only the failed parts are re-sent.

## Replace or remove a video

Select the video block to open its settings. Under **Replace video**, paste a new link or upload a new file, or remove the block from the lesson. Save the lesson after the change.

## Make it available to students

A saved lesson can still be a draft. Publish the lesson when it is ready, and confirm that its course is also published.

Lessons that contain a video show a video icon in the course outline and the lesson sidebar, so students can spot them.

## Troubleshooting

* **The file is rejected:** Use MP4, WebM, or Ogg and keep it at or below 1 GB.
* **The upload stops:** Check your connection, keep the tab open, and retry.
* **Students cannot play it:** Confirm the lesson and course are published, then check the student's course access.
* **A pasted link does not load:** Use the public YouTube, Vimeo, or Loom video URL rather than an editing or studio URL.

<CardGroup cols={2}>
  <Card title="Block editor" icon="pen-to-square" href="/docs/content/block-editor">
    Learn how to add and arrange every lesson block.
  </Card>

  <Card title="Lesson audio" icon="volume-2" href="/docs/content/lesson-audio">
    Let students listen to a lesson instead, in a catalog voice or your own.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.