# Embedded YouTube

This components allows you to easily embed YouTube videos both at design-time (properties view) and runtime (elements.my\_embed\_componen.embeddedVideoURL = "<https://www.youtube.com/embed/>...").

In designer it will not load/show the video; it just shows a logo and play button.

Some video options can be configured like autoplay, showControls, allowFullScreen ... More options (or even API/handler support) can be added in the future to the component - as needed.

{% hint style="info" %}
*<mark style="color:blue;">**Content under construction**</mark>*
{% endhint %}

## Youtube video player properties

Youtube video player properties can be found [here](https://github.com/Servoy/gitbook/blob/master/guides/develop/application-design/ui-components/media/broken-reference/README.md).

## Related Articles

The following articles are recommended for additional reading

* [Embedded YouTube Reference Documentation](https://github.com/Servoy/gitbook/blob/master/guides/develop/application-design/ui-components/media/broken-reference/README.md)
* [Styling and Themes](/guides/develop/application-design/styling-and-themes.md)
* [Scripting the UI](/guides/develop/programming-guide/scripting-the-ui.md)


---

# 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.servoy.com/guides/develop/application-design/ui-components/media/embedded-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.
