iFrame Widget

What is an iFrame Widget and what is it used for?

The iFrame Widget is used to either iFrame a URL or embed content into the Page and are very useful. There are three options when using the iFrame Widget Embed, URL and Javascript. 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. This is why most webpages prevent embedding and for some webpages you need to use special embedding URL to get the embedding working. If a website will not embed correctly you will see the below error.

Screenshot 2019-01-14 at 12.41.50

Javascript

Javascript will allow you to enter your own Javascript and allows many different options for embedding external content. As you will be adding custom code into Happeo you need to accept responsibility for the validating the code and ensuring that it is not harmful before adding it.

Screenshot 2019-01-14 at 12.53.16

Screenshot 2019-01-14 at 12.54.02

iFrame Widget Options

Embed: Choose between the three options for iFraming content onto the Page.