# 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="/files/PohN30PRWHZ9y5cjGlUi" 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="/files/a8eYUTHNK0vgJi3AQlhO" 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="/files/xWQQBJkED3YdNrfMCK4v" 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="/files/SNBeMOuiAk2hU4ecmKGy" alt="" width="563"><figcaption><p>The "X" icon and "Expected duration" field in the lesson editor</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.intranet.ai/micro-learning/features/add-attachments-and-embedded-content.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
