# Autoplay Video

## 👉 **The Tag** <a href="#the-tag" id="the-tag"></a>

Autoplays an audio-less video when the user is on that app page. The video will replace the content of a rectangle shape. Supports URL ending in **.mp4**. [More options to add videos](/bravo-tags/mobile-actions/how-to-use-video-components-in-your-apps.md)**.**

**📍 Where to add the tag:** A rectangle layer

```
//The tag:

[component:video:URL]

//Sample tag to try:

[component:video:https://storage.googleapis.com/coverr-main/mp4%2Fcoverr-sandboarding-in-desert-1585557594519.mp4]
```

![](/files/-MhmPBJSVv5P5xlsfBmI)

{% hint style="info" %}
**What if I have a video file?** You will need to upload the video to an online storage that generates an .mp4 URL. Some suggestions: [AWS S3](https://aws.amazon.com/s3/) or [Airtable](https://docs.bravostudio.app/learn-and-create/bravo-best-practices#database-setup) .
{% endhint %}

## 🏷️ **How to add the tag** <a href="#how-to-add-the-tag" id="how-to-add-the-tag"></a>

1. **Copy** the tag.

&#x20;   2\. **Paste** the tag into the layer name of a **rectangle shape**.

![](/files/-Mhm_wpo5JVc5j9Y_QT8)

&#x20;    3\. Replace the placeholder URL with your own (or try our sample tag).

&#x20;   4\. Import to **Bravo Studio** & preview on **Bravo Vision** 🚀 (If you imported the app before, you just need to press the button Update in ***Bravo Studio*** to see the changes)

## 💾 Example files <a href="#example-files" id="example-files"></a>

Duplicate the files below to see how to set it up!

{% embed url="<https://www.figma.com/community/file/973892292868502990>" %}


---

# 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.bravostudio.app/bravo-tags/components/component-autoplay-video.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.
