# Add attachments and embedded content

## Add Attachments (Images or Videos)

1. Open the course and click “**Edit**” on the lesson.&#x20;
2. Click “**Upload photo/video**”.&#x20;
3. Select a file from your computer:&#x20;

* No size limit for images
* For videos, we recommend a max size of 500 MB&#x20;

4. Click “**Save**”.&#x20;

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2F4feVpVuuuvypQSQCYhmR%2FScreenshot%202025-04-09%20at%2014.43.09%20copy.png?alt=media&#x26;token=4fd6d76a-bf3b-4ae3-ae5c-b002cc53ca0e" alt="" width="563"><figcaption><p>Upload photo/video button in lesson editor</p></figcaption></figure>

You can delete or replace the uploaded media anytime using the **"×" icon** in the top right corner of the image (see the red box in the screenshot).

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FLVskhGDAUsMiQM119Dig%2FScreenshot%202025-04-09%20at%2014.47.06.png?alt=media&#x26;token=2b700c1b-635c-4b48-88f1-edf119892669" alt="" width="563"><figcaption><p>"X" icon to remove attachment in lesson editor</p></figcaption></figure>

***

## Embed External Content

1. In the lesson editor, click “**Add embedded content**”.&#x20;
2. Paste an iFrame or a URL.&#x20;
3. Click “**Save**”.&#x20;

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FXChyTxws0rCBfWHZB7u1%2FScreenshot%202025-04-09%20at%2014.43.09.png?alt=media&#x26;token=6b1f611e-9743-490a-94a6-c7b43d5f5d47" alt="" width="563"><figcaption><p>The "Add embedded content" button in the lesson editor</p></figcaption></figure>

You can delete or replace the embedded element anytime using the **"×" icon** in the top right corner of the image (see the red box in the screenshot).

After clicking 'Save', the **expected duration** of the lesson will automatically update based on the embedded content's length and text."

<figure><img src="https://2718234637-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FriXlnuemuParrCf7Uotu%2Fuploads%2FjpjVpqoTJrC0sxAdh0dq%2FScreenshot%202025-04-09%20at%2014.51.35.png?alt=media&#x26;token=a8807bff-5a15-49bc-b65c-fe8e604303c2" alt="" width="563"><figcaption><p>The "X" icon and "Expected duration" field in the lesson editor</p></figcaption></figure>
