# Embeded YouTube

To add emxeded YouTube video you need to:

1. Open the video on YouTube
2. Click **Share** under the video, and select **Embed**.
3. Copy the code you will see. It should look like this:\
   `<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>`
4. Make adjustments to this code. The values you might want to change is width and height. By default it is 560 by 315 pixels.\
   You can set it to any values, but it is recommended to keep the ratio the same as original (16:9) for a good look.
5. Paste this code on Create Attachment section of the plugin.


---

# 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://productattachments.docs.foxnetsoft.com/embeded-youtube.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.
