This article will tell you how to properly embed a video onto one of your web pages, using the Custom HTML widget.
Important Notes
-
Code:
- Open iframe: <iframe
- Close iframe: </iframe>
-
Height and Width:
- Your iframe Embed Code requires a width and height to display correctly. Width measurements must be set as a percentage to be mobile-responsive. Height may be left as a number (which will indicate how many pixels (px) of height will be used).
- Example: Width=”100%” height=”500”
-
Troubleshooting:
- Embedded videos may not appear if the source code is not a secure site (for example, http://). All embed codes require https://
-
Example of a Robust Embed Code:
- This code opens and has a percentage width, a display height, a secure source, and a closing code
- <iframe Width=”100%” height=”500” src=” https://www.civicengage.civicplus.help” </iframe>:
Instructions
- Copy the embed code from the video source
- Sign in to your site
- Navigate to your desired page and if needed, click Try New UI
- Click Widgets
- Drag and drop the Custom HTML widget onto your page
- Paste your Embed Code into the widget
- Click the Done button
- Click Save at the top of the page
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.