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

# Embed a OneDrive video

Embed videos to any Pop-up template to deliver more information to your users. The video can be embedded in the description section. For more information on Whatfix Pop-up templates see, [Choose the Pop-up template](/desktop/choosing-a-pop-up-template).

## 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 the **Embed** icon. ![embed onedrive](/images/0e/embed-onedrive-0ebcce5d.png)
3. In the side bar, click the **Generate** button. ![studio\_pop-up\_onedrive\_generate](/images/7b/studio_pop-up_onedrive_generate-7bc84085.png)
4. Copy the embed code. ![studio\_pop-up\_onedriveembed code](/images/5c/studio_pop-up_onedriveembed-code-5c9d4cf7.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](/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. ![studio\_onedrive\_insert link](/images/5b/studio_onedrive_insert-link-5bfc258b.png)

8. Click **Insert**. ![studio\_one\_drive\_code\_insert](/images/47/studio_one_drive_code_insert-4739f165.png)

9. Finish creating the Pop-up.
