---
title: "Embed a OneDrive video using Embed code"
slug: "embed-a-onedrive-video-using-embed-code"
updated: 2025-04-25T07:35:51Z
published: 2025-04-25T07:35:51Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.whatfix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Embed a OneDrive video using Embed code

Embed videos in the description section of any Pop-up template to deliver additional details to your end users. For more information on Whatfix Pop-up templates, see [Choose the Pop-up template](/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](/studio/docs/embed-a-onedrive-video-using-embed-code#step-1-get-the-video-embed-code) **Step 2**: [Insert the video embed code in the Pop-up](/studio/docs/embed-a-onedrive-video-using-embed-code#step-2-insert-the-video-embed-code-in-the-popup)

Use the following steps to add a video hosted on OneDrive to a Pop-up:

## Step 1: Get the video embed code

          Note:

          

The Embed option is only supported in OneDrive for Personal and not in OneDrive for Business.

1. Go to the video on OneDrive and open it.
2. Click **Embed** from the options next to **Download**. ![Embed videos from One Drive ](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/OneDrive_Video_Embedoption.png)
3. In the side bar, click the **Generate** button. ![studio_pop-up_onedrive_generate](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_pop-up_onedrive_generate.png)
4. Copy the embed code. ![studio_pop-up_onedriveembed code](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/studio_pop-up_onedriveembed%20code.png)

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

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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_left_nav_widgets.png)
2. Click **Pop-ups**. ![ia_widget_popups](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/ia_widget_popups.png)
3. Hover your cursor over the Pop-up segment you want to configure, and then click the **Edit** icon. ![Edit_popup_DB](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Edit_popup_DB.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](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Screenshot%202024-07-09%20at%2011.28.27%20AM.png)
5. Click the **+** icon. The **Add Component** dialog box opens. ![Add_component](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Screenshot%202024-07-09%20at%2011.28.27%20AM%281%29.png)
6. On the **Add Component** dialog box, click **Video**. ![Click_Video_Addcomponent](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Click_Video_Addcomponent.png)

1. Paste the embed code. ![Dashboard_Pop-up_video_addembedcode.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Dashboard_Pop-up_video_addembedcode.png)
2. Click **Insert**. ![Dashboard_Pop-up_video_insertembedcode.png](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Dashboard_Pop-up_video_insertembedcode.png)

          Note:

          

- If you want the video to autoplay for your end users, click **Autoplay** while inserting the video.  

![Autoplay videos on pop-ups ](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Pop-up_video_autoplay.png)

1. Finish creating the Pop-up.

## Related

- [Pop-up Visual Editor](/pop-up-visual-editor.md)
