How to embed an iframe in Confluence page?

16,635

Solution 1

  1. Log in as your Confluence Admin, go to manage add-ons
  2. Enable all the modules of the Confluence HTML Macros
  3. 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

  4. Save the page

     <iframe src="https://calendar.google.com/calendar/embed?src=3g3ie767f4ji0e72icgtfjg%40group.calendar.google.com&amp;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&amp;c" noborder="0" width="830" 
 height="800" scrolling="yes" seamless></iframe>

Solution 2

When adding a macro I did the following:

  1. "Other Macros"
  2. Search for "iframe"
  3. Select "Iframe" macro
  4. Enter only the iframe url, and any other required settings.
Share:
16,635

Related videos on Youtube

Jack
Author by

Jack

Hi, nice to meet you.

Updated on July 01, 2022

Comments

  • Jack
    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: enter image description here

    But it just display the text of code as follows:

    <iframe src="https://calendar.google.com/calendar/embed?src=3g3ie767f4ji0e72icgtfjg%40group.calendar.google.com&amp;c" style="border: 0" width="800" height="600" frameborder="0" scrolling="auto"></iframe>
    

    How to embed an iframe in Confluence page?

  • Jack
    Jack almost 7 years
    Hi @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
    Ashiqur Rahman almost 7 years
    then u need to install it first ... and don't forget to accept my answer
  • Jack
    Jack almost 7 years
    Hi @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
    Ilias Bartolini almost 4 years
    Couldn'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
    Ashiqur Rahman almost 4 years
    @llias Bartolini ... It's for older version... Can't help you with the new version sorry