> For the complete documentation index, see [llms.txt](https://docs.stylemixthemes.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stylemixthemes.com/sequoia-theme-documentation/sequoia-widgets/youtube-popup.md).

# YouTube Popup

You can embed a YouTube video on a page using the YouTube Popup widget. To embed a YouTube video, you need to take the following actions:

* Open a new window in your browser and find the YouTube video you want to embed on your page.
* Copy the video ID (symbols coming after the equals sign) from the URL as shown on the screen below.
* Paste the ID into the YouTube Video ID field.

![YouTube Video ID](https://2425882545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCl8bwZ72WkAolEEjK0qm%2Fuploads%2FDPeMmoIEXGx8ojhvuXyz%2FYouTube%20Video%20ID.png?alt=media\&token=aef3e596-0238-428e-8480-a79f20068822)

![](https://2425882545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCl8bwZ72WkAolEEjK0qm%2Fuploads%2Fda9ls7QfKrLZMaLAQ82s%2FYoutube%20Popup.png?alt=media\&token=4cb0a99a-6805-4c2f-92be-8ba4d1f9e618)

The outcome of this widget is a popup window with YouTube videos:

![](https://2425882545-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCl8bwZ72WkAolEEjK0qm%2Fuploads%2FjeQ8HSAVsL1DhFNhiZmA%2FYoutube%20Video%20Popup.gif?alt=media\&token=b5962224-c26f-4363-9261-922a3ab8b28c)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stylemixthemes.com/sequoia-theme-documentation/sequoia-widgets/youtube-popup.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
