How to embed an iframe in Confluence page?
16,635
Solution 1
- Log in as your Confluence Admin, go to manage add-ons
- Enable all the modules of the Confluence HTML Macros
-
Insert the Include HTML Macro when you are creating/editing a page.
a) Go To Insert More Content > Other macros
b) Search for HTML macro
c) Paste the following code inside the macro
Save the page
<iframe src="https://calendar.google.com/calendar/embed?src=3g3ie767f4ji0e72icgtfjg%40group.calendar.google.com&c" noborder="0" width="830"
height="800" scrolling="yes" seamless></iframe>
<iframe src="https://calendar.google.com/calendar/embed?src=3g3ie767f4ji0e72icgtfjg%40group.calendar.google.com&c" noborder="0" width="830"
height="800" scrolling="yes" seamless></iframe>
Solution 2
When adding a macro I did the following:
- "Other Macros"
- Search for "iframe"
- Select "Iframe" macro
- Enter only the iframe url, and any other required settings.
Related videos on Youtube
Comments
-
Jack almost 2 years
I want to embed an iframe in a Confluence page, e.g. Google Calendar.
I insert the iframe code in Confluence page, it should show the calendar as follows:
But it just display the text of code as follows:
<iframe src="https://calendar.google.com/calendar/embed?src=3g3ie767f4ji0e72icgtfjg%40group.calendar.google.com&c" style="border: 0" width="800" height="600" frameborder="0" scrolling="auto"></iframe>
How to embed an iframe in Confluence page?
-
Jack almost 7 yearsHi @Ashiqur Rahman, thanks for your reply. However, I cannot find the HTML macro, my Confluence is v5.9.11. Which version do you use?
-
Ashiqur Rahman almost 7 yearsthen u need to install it first ... and don't forget to accept my answer
-
Jack almost 7 yearsHi @Ashiqur Rahman, do you know where the HTML macro is? There seems no the macro in the Atlassian marketplace. How did you have the HTML macro? Is it installed by default?
-
Ilias Bartolini almost 4 yearsCouldn't find “Manage add-ons” on the current Conflunece Cloud (version 1000.0.0-2de308a3ab52). The other answer worked (search for "iframe macro")
-
Ashiqur Rahman almost 4 years@llias Bartolini ... It's for older version... Can't help you with the new version sorry