# Background Video Section

{% hint style="info" %}
Live Demo: <https://candidate.codenation.com/>
{% endhint %}

<figure><img src="/files/-Ljq2vnxHoFK1242_vtq" alt="Candidate&#x27;s Background Video Example"><figcaption><p>Candidate's Background Video Example</p></figcaption></figure>

## Adding a background video:

1. Create a new basic page and add a youtube URL to the body of the page. When pasting the URL be sure to paste it without formatting (i.e. without a hyperlink, underline, etc.).

<img src="/files/-LjpVJsrYAh8-ErKEwVy" alt="" width="375">

2. Add the tag `Admin Show Background Video:[VIDEO_SLUG]`  to the page you want the video to appear.&#x20;
   * Where `[VIDEO_SLUG]` is the slug of the page created in step 1.  I.e. `(Admin Show Background Video:celebration)`
3. You can overlay a quote on the video by adding a headline to the video page.

{% hint style="success" %}
Given background videos are not supported on many mobile devices, you can set a fallback image to use as the background in this section on smaller screens. To do this, simply upload your desired background photo as the social media image for the page.
{% endhint %}


---

# 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.codenation.com/admin-tag-customisations/background-video-section.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.
