- 07 Aug 2023
- 1 Minute To Read
- Print
- DarkLight
- PDF
Embed a Dropbox video using Embed code
- Updated On 07 Aug 2023
- 1 Minute To Read
- Print
- DarkLight
- PDF
You can 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.
You can add iFrame code for a video only through the Rich Text Editor.
Adding video embed code in a Pop-up is a 2-step process.
Step 1: Get the video embed code
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:
Go to the location where the video file is located in your Dropbox account.
Click the Manage dropdown and then select Share with Dropbox.
In the pop-up, enter the email address and then click the Share button at the bottom.
You will receive an email. From the email, click View File.
The video opens in a new tab. Click Copy link.
Paste the copied link in a text editor.
Remove any parameters after the question mark and replace it with raw=1.
Replace video_link with the edited link in the following code snippet to get the embed iframe link.
<iframe src="video_link" height="480px" width="640px" allowfullscreen></iframe>
The final embed link looks like this.
Step 2: Insert the video embed code in the Pop-up
Use the following steps to insert the video embed in your Pop-up:
- On the Whatfix dashboard, click Widgets.
- Create a new pop-up using the Create widget button or edit the existing pop-up using the Edit icon.
In the Description section, place the cursor where you want to add the video and double-click to open the Rich Text Editor.
Click the Insert Video icon.
Paste the embed code.
Click Insert.
Finish creating the Pop-up.