# Embed a YouTube Video

To embed a video from YouTube you'll need to find and copy the HTML code to embed it. Don't worry, this sounds more complicated than it actually is.&#x20;

Here's how to do it…

Find the video you want to embed on YouTube, and press the "**Share**" button located just below the video.

![Press the share button underneath the video.](/files/plA5aoUGnoX75uz5oR7z)

Press the "**Embed**" button in the pop-up window that appears.

![Press the embed button.](/files/DRdiboxp488TACkVODll)

Next, highlight and copy the HTML code on the right of the window.

![Copy the html code.](/files/FTUKO5Ajuc5QEMPxwN51)

Paste the copied HTML code into RapidWeaver while in Edit mode. In this example, we paste it into a Styled Text page.

![Pase the HTML code into the page while in Edit mode.](/files/HJ0HIKIrHdBTEGt0u1fX)

Here's how the page and video appear when previewing the page inside RapidWeaver.

![How the preview looks inside RapidWeaver.](/files/qXhRfRz65BTANGiAEGFz)


---

# 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.realmacsoftware.com/classic-manual/user-manual/how-to/embed-a-youtube-video.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.
