Source: https://nishanth-fern-test.docs-staging.pageloop.ai/web/embedding-a-dropbox-video-using-embed-code

# Embed a Dropbox video using Embed code

Embed Dropbox videos to any Pop-up template to deliver more information to users. Embed the video in the description section. For more information on Whatfix Pop-up templates, see [Choose the Pop-up template](https://support.whatfix.com/studio/docs/choosing-the-pop-up-template).

Adding a video embed code in a Pop-up is a 2-step process.

- [Step 1: Get the video embed code](/web/embedding-a-dropbox-video-using-embed-code#step-get-the-video-embed-code)
- [Step 2: Insert the video embed code in the Pop-up using Visual Editor](/web/embedding-a-dropbox-video-using-embed-code#Step-insert-the-video-embed-code-in-popup)

## Step 1: Get the video embed code

Note:

Dropbox does not have an in-built embed option to insert videos. However, we can manually create one.

Use the following steps to get the video embed code:

1. Go to the location where the video file is located in your Dropbox account.
2. Hover your cursor over the video and click the **Copy link** icon. ![Share video links from your Dropbox account](/images/37/Dropbox_share_videolink-377465cb.png)
3. Paste the copied link on a text editor. ![studio\_dropbox\_link\_added\_raw](/images/03/studio_dropbox_link_added_raw-031d6827.png)
4. Remove any parameters after the question mark and replace them with **raw=1**. ![studio\_dropbox\_link\_unedited](/images/e0/studio_dropbox_link_unedited-e0ea65eb.png)
5. Add the edited video link to the **src** parameter in the following code snippet to obtain the embed iframe link.

```plaintext
<iframe src="video_link" height="480px" width="640px" allowfullscreen></iframe>
```

The final embed link appears as follows: ![studio\_dropbox\_link\_in\_iframe](/images/1b/studio_dropbox_link_in_iframe-1b73ef24.png)

## Step 2: Insert the video embed code in the Pop-up using Visual Editor

Use the following steps to insert the video embed in your Pop-up:

1. On the Whatfix Guidance dashboard, click **Widgets**. ![ia\_left\_nav\_widgets](/images/d4/ia_left_nav_widgets-d468b7f8.png)

2. Click **Pop-ups**. ![ia\_widget\_popups](/images/f2/ia_widget_popups-f2f9e0ad.png)

3. Hover your cursor over the Pop-up segment you want to configure, and then click the **Edit** icon. ![Edit\_popup\_DB](/images/68/Edit_popup_DB-6885e56b.png)

4. In the **Description** section, place the cursor where you want to add the video and double-click to open the **Rich Text Editor**. ![RTE\_add\_video](/images/d6/Screenshot-2024-07-09-at-11.28.27-AM-d6327934.png)

5. Click the **+** icon. The **Add Component** dialog box opens. ![Add\_component](/images/d3/Screenshot-2024-07-09-at-11.28.27-AM-1-d3804c0d.png)

6. On the **Add Component** dialog box, click **Video**. ![Click\_Video\_Addcomponent](/images/58/Click_Video_Addcomponent-5852ff0d.png)

7. Paste the embed code. ![Dashboard\_Pop-up\_video\_addembedcode.png](/images/69/Dashboard_Pop-up_video_addembedcode-6953fb62.png)

8. Click **Insert**. ![Dashboard\_Pop-up\_video\_insertembedcode.png](/images/0a/Dashboard_Pop-up_video_insertembedcode-0aa1e1c8.png)

Note:

- If you want the video to autoplay for your end users, click **Autoplay** while inserting the video. ![Autoplay videos on pop-ups](/images/37/Pop-up_video_autoplay-374afc66.png)

1. Finish creating the Pop-up.

## Related

- [Pop-up](/web/pop-up)
