This article aims to provide details regarding the iFrame widget and its use cases.
Click here to read more about Custom Widgets.
What is it used for?
The iFrame Widget is used to either iFrame a URL or embed content into the Page. There are two options when using the iFrame Widget:
- Embed
- URL
Each can be used for different things.
Embed
Embed is used when you have found a widget or embeddable content that you would like to add to a Page. A lot of websites offer the option to get embed code for specific items such as YouTube videos, Weather reports, and Public transport schedules.
URL
URL is used for iFraming an entire webpage or special embedding URL's that you can get from
specific websites. However, they can be a bit hard to set up sometimes.
By default, you cannot embed any website since this can pose a security threat (see custom apps to bypass this limitation). This is why most web pages prevent embedding and for some web pages, you need to use a special embedding URL to get the embedding working.
If a website will not embed correctly you will see the below error.
iFrame Widget options
- Embed: Choose between the options for iFraming content onto the Page
Note: To make the content shown bigger, you can drag it from the bottom of the Widget.
Embedding surveys
You can embed surveys, such as Surveymonkey, to your Page using the iFrame Widget. You can simply copy the survey's embed code and paste it into the embed option in the iFrame Widget.
Embedding Facebook pages
To embed a Facebook page to your Happeo Page using the iFrame Widget, you can copy the Facebook page URL into the URL field of the iFrame Widget (make sure the page is public).