# YouTube integration

You can import YouTube videos into ShapesXR.

#### How to upload a YouTube video

* Sign in to your **ShapesXR** [**Dashboard**](https://shapes.app/) using your Shapes account.
* Go to the [**My Files**](https://shapes.app/files/) section.
* Click **Import → YouTube video**.
* Paste the YouTube link and click **Import**.

Once the video is imported, it will appear in your **My Files** list.

#### How to use a YouTube video in VR

1. Open **ShapesXR** in VR and enter any space.
2. Open the **Assets** **menu** → **My Files**.
3. Find your uploaded video, hover over it, and use the **grip button** to grab and place it in the space.
4. To adjust the video settings:
   * Click the bottom bar of the video with the **trigger** to select it.
   * In the **Inspector**, you can:
     * Choose the **pixel density**.
     * Toggle **AutoPlay** on or off.

{% hint style="info" %}
When AutoPlay is enabled, the video will automatically start from the beginning every time you enter [Play Mode](/prototyping/interactivity-and-play-mode.md).
{% endhint %}

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FV5IFh3rk5kqfCwJPPYhE%2Fuploads%2FuJsLu8NGsQUFiFGKfdgZ%2FYoutube.mp4?alt=media&token=6a3840c9-397b-4bbb-8170-6002ecc33e48>" %}


---

# 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://learn.shapesxr.com/import/youtube-integration.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.
