> For the complete documentation index, see [llms.txt](https://gamelauncher.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gamelauncher.gitbook.io/documentation/launcher-integrations/flat-window-template/set-a-background-video.md).

# Set a background video

{% hint style="danger" %}
**This tutorial requires FlatWindow Template**
{% endhint %}

This FlatWindow template downloads the video from your host.

If video in the host has a different size than the downloaded one, then the video in the host is downloaded again (for updating the video).

The video needs to be located under ***<https://yourhost.com/GameLauncher/News/Release/>***

### Uploading a video in your host

{% hint style="warning" %}
The video needs to be an **mp4 file**

The video name needs to be ***Video.mp4*** (caps sensitive)

**We recommend to compress the video to be 50 MB or less and with duration of less than 1 minute.&#x20;*****(There is no limit here, but it's annoying to download a 1 GB video, and most of your users never see more than 20 seconds of the video).***
{% endhint %}

1. Upload your ***Video.mp4*** in the ***GameLauncher/News/Release*** of your host

**And that's all!**&#x20;

{% hint style="info" %}
If you want to **update your video, you just only need to replace it in your host.**&#x20;

**Game Launcher will automatically recognize the change and re-download the new video.**
{% endhint %}

<mark style="color:green;">**You now can run it to test it!**</mark>


---

# 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://gamelauncher.gitbook.io/documentation/launcher-integrations/flat-window-template/set-a-background-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.
