> For the complete documentation index, see [llms.txt](https://docs.webstudio.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.webstudio.is/university/core-components/vimeo-background-video.md).

# Vimeo Background Video

Learn how to use the Vimeo Component as a background video on your site.

{% embed url="<https://vimeo.com/844215259>" %}

## Here is how you can use the Vimeo Component as a background video on your site:

1. Start by adding a Box component (Main Container) to your site and set its position to “Relative.” ![Vimeo background image step 1](https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-9378c228c68a3b2686ad188a521f14f6d5af0c01%2Fvimeo-bg-video-step-1.avif?alt=media)
2. Add a Vimeo component inside the Main Container.

   <figure><picture><source srcset="/files/qSeT2Av5wXghQRY8whGO" media="(prefers-color-scheme: dark)"><img src="https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-8fe1295e215e142394d114a4341a384fe3ecc2ce%2Fvimeo-bg-video-step-2-light.png?alt=media" alt="Navigator showing Vimeo inside Main Container" width="240"></picture><figcaption></figcaption></figure>
3. After this, add another Box component (Content) inside the container and set its position to “Absolute.” This will stack the Content Box on top of the Vimeo instance. ![Vimeo background image step 3](https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-1d21fe7a3e3c226a4be442eef2835fb32dad5a93%2Fvimeo-bg-video-step-3.avif?alt=media)
4. Now you can add any other content, like headings and paragraphs, to your Content Box, and it will be displayed over the background video.

   <figure><picture><source srcset="/files/TTnITCwid8COyL2rLwIE" media="(prefers-color-scheme: dark)"><img src="https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-100f2635768a8251d6c87aab6cd481f0545c77bb%2Fvimeo-bg-video-step-4-light.png?alt=media" alt="Navigator showing Content with heading and paragraph beside Vimeo" width="240"></picture><figcaption></figcaption></figure>
5. Make sure to enable the “Background Mode” property for the Vimeo instance to ensure that your video starts automatically and all the video player controls are disabled.

   <figure><picture><source srcset="/files/ie4CX6AXO3ynV2xH84j0" media="(prefers-color-scheme: dark)"><img src="https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-479bef623a219d97c608f48a841ea6c0bd4b790b%2Fvimeo-bg-video-step-5-light.png?alt=media" alt="Vimeo Settings with Background Mode enabled" width="240"></picture><figcaption></figcaption></figure>

And done! Now you have a background video on this section of your site.

## Here are some other changes you can make to optimize it further:

1. Enable the “Muted” and “Loop” properties for your Vimeo instance to have the background video play in a loop without any sound.

   <figure><picture><source srcset="/files/PWMmxV8wFMsbGgzFR7cc" media="(prefers-color-scheme: dark)"><img src="https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-c1ddca49f9182a731b3abcab7498889a15c5dbf8%2Fvimeo-bg-video-step-6-light.png?alt=media" alt="Vimeo Settings with Loop and Muted enabled" width="240"></picture><figcaption></figcaption></figure>
2. You can also hide or remove the Spinner on your output video for a more polished result. To hide it, select the Spinner instance from your Vimeo instance, head over to the Settings section and toggle off the “Show” option:

   <figure><picture><source srcset="/files/aGujuuJP3ZTF8eaLM69X" media="(prefers-color-scheme: dark)"><img src="https://330243581-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTep4EGj6hSC54ozHujyK%2Fuploads%2Fgit-blob-a0c002deaabbeb0bb68bc5b2c74282dfabe90503%2Fvimeo-bg-video-step-7-light.png?alt=media" alt="Spinner settings with the Show toggle ready to turn off" width="240"></picture><figcaption></figcaption></figure>

## Related

* [Vimeo](/university/core-components/vimeo.md) – Standard Vimeo embeds
* [YouTube](/university/core-components/youtube.md) – YouTube video embeds
* [Image](/university/core-components/image.md) – Static background images


---

# 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.webstudio.is/university/core-components/vimeo-background-video.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.
