# Video pop-up (Lightbox)

1. From top bar click on settings and Choose Pro settings-

![](/files/-M0dKuy2KpYccztlIxrw)

2\.  Copy and paste below code in your website

```
<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js"></script>

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css" />
<script src="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>

```

![](/files/-M0dQEbsalf5DZLwaxoT)

Click on Save button

## Now add a HTML button to your website

![](/files/-M0dNUpvBorCQ8q3YCEY)

{% hint style="info" %}
Now copy the below code, and make sure to replace youtube link with your video link.
{% endhint %}

```
<a data-fancybox href="https://www.youtube.com/watch?v=_sI_Ps7JSEk" class="youtubebtn">
    Play Video
</a>
```

Remove the code from previously added widget and paste the above code and click on save button

![](/files/-M0dNupF-o4Hqs4YzTDI)


---

# 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.vintcer.com/video-pop-up-lightbox.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.
