> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/blocks/video.md).

# Video

<figure><img src="/files/8qUS0iduhG6nK8nZpVdy" alt="Screenshot of a placeholder YouTube video on the Primavera Precision preset"><figcaption><p>External video, Primavera's dedicated section for YouTube or Vimeo videos</p></figcaption></figure>

This is a versatile block that allows you to either load a Shopify-hosted video or an external video.

### Settings

* **Video:** Select or upload a Shopify-hosted video
* **External video link**: Enter the video URL, e.g. `https://www.youtube.com/watch?v=_9VUPq3SxOc`&#x20;
* **External video poster image:** If you're using an external video, add a poster image. This is displayed before the video is loaded and should match the aspect ratio of the video for better results (the video takes on the same aspect ratio as the poster).
* **Enable autoplay**: This will autoplay the video when it's in view. If you have concerns about accessibility, we do not recommend enabling this option. Note that by enabling autoplay, your video will be muted. If you need the video to include sound, please disable autoplay.
* **External video description**: Describe the video for accessibility purposes
* **Button style:** Choose between primary, secondary or text for video controls


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ultramarinastudios.com/blocks/video.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
