# Embed activity

> Embed third-party tools such as Miro, Calendly, Typeform or Google Docs in a lesson with an iframe code, so learners use them without leaving Teachfloor.

Source: https://support.teachfloor.com/articles/embed-activity  
Collection: Lessons & Activities  
Last updated: 2026-11-22

![Embed activity card: paste an embed code from your favorite app into your course](https://cdn.sanity.io/images/l9t3o6uq/production/73649972c0bdb8f766cfbb1e9731b9fa8eb5135c-1586x895.png)

The **Embed** activity lets you embed any third-party tool, software or widget in your course using an iframe embed code. Tools such as Google Docs, Calendly, Typeform, Loom, Miro, Airtable and Notion support it, along with [many more](https://support.teachfloor.com/collections/integrations).

Learners don't need to leave Teachfloor: they interact with these tools right inside the module.

## Add an Embed activity

1. Open the curriculum of the course where you want to insert the embedded tool.
2. Click **Add Element** in the left panel of the curriculum editor.
3. Select **Embed** under **Activity Tools**.

![Activity Tools list with the Embed card and the Add Element button highlighted](https://cdn.sanity.io/images/l9t3o6uq/production/d141945680e7bda76ab3193cb40e0acd0d785643-1600x802.png)

## Shared settings

Before you set the Embed options, configure the basic settings:

- **General Settings** (name, description, resources, element width and display options)
- **Visibility Controls**
- **Requirements** (prerequisite lessons)
- **Text-to-Speech**
- **Metadata** (internal tags)

These settings work the same across all activity types. For a full breakdown, see [Common settings of each element](https://support.teachfloor.com/articles/element-common-settings).

## Embed settings

![Embed section with the Embed setup box, Aspect Ratio options and element width options](https://cdn.sanity.io/images/l9t3o6uq/production/6ab082b0867ae005021564f4f87baa5327a88ab3-1590x895.png)

The Embed setup panel holds the options specific to this activity.

### Copy the embed code from the tool

Almost every tool you want to embed gives you a block of HTML code, specifically an **iframe**. It looks like this:

```html
<iframe src="https://example.com/embed" width="100%" height="800"></iframe>
```

This code tells Teachfloor:

- **What to show** (`src`)
- **How wide** it should be (`width`)
- **How tall** it should be (`height`)

Where to find the embed code in common tools:

| Tool | Where to find the embed code |
| --- | --- |
| YouTube | Share > Embed |
| Calendly | Share > Add to Website > Inline Embed |
| Google Docs/Slides | File > Publish to Web > Embed |
| Typeform | Share > Embed into a web page |
| Loom | Share > Embed |
| Miro/FigJam | Share > Embed or Export |
| Airtable/Notion | Use the platform's "Copy Embed" function |

![Miro Embed board dialog with the iframe code highlighted above the Copy embed code button](https://cdn.sanity.io/images/l9t3o6uq/production/2b6112b3401778b8cb676d7c46371869b1f56a0a-1600x802.png)

> **Important:** Some tools require the document or form to be published, or set to public or viewable by anyone with the link, before the iframe works.

### Paste the code into Teachfloor

1. Scroll to the **Embed setup** section of your Embed activity.
2. Paste the entire iframe code into the text box.
3. Your embed is now ready to preview.

![Embed setup box filled with a Miro iframe code, above the Save button](https://cdn.sanity.io/images/l9t3o6uq/production/cda473360d4453f3abf621dd461116dc79524a33-1600x802.png)

Recommended sizing:

```html
<iframe src="..." width="100%" height="800"></iframe>
```

- `width="100%"` keeps the embed responsive
- `height="800"` gives enough vertical space to prevent scrolling

For a tighter height, try `height="600"` or even `400`, depending on the tool's layout.

### Aspect ratio

![Aspect Ratio option set to Disabled, with a 4:3 ratio option below](https://cdn.sanity.io/images/l9t3o6uq/production/defa44b2dd785dc07b061b4744ff594c310e8cc1-1589x890.png)

This setting locks the proportions of the embedded content.

- **Disabled** (default): no ratio restriction, the content fills the area freely.
- **Enabled**: set a specific ratio manually (for example **4:3**), which is common for videos or presentations.

> **Note:** Use a fixed ratio when the embedded content looks squished or cropped. It keeps the layout consistent across devices.

### Element width

![Change the width of the element option with Default and Wide choices](https://cdn.sanity.io/images/l9t3o6uq/production/cdb725dbb7f80d516b1b50b29c2d3d6ceb28cb52-1589x895.png)

The width is set in the **General** settings of the activity, under **Element width**. It controls how wide the embedded content appears on the learner's screen:

| Option | Behavior |
| --- | --- |
| Narrow | Content is centered within the standard content container. Suits most tools. |
| Wide | Content stretches across the full width of the page. Suits wide interfaces like dashboards or interactive canvases. |

The wide option is useful for embedded slideshows, full-page forms or Miro boards.

![Lesson showing a Miro OKR board embedded across the full page width](https://cdn.sanity.io/images/l9t3o6uq/production/027f66417b6edffa9b53c43b86a5edc14ae3da85-1904x1034.png)

## What learners see

When learners open a module with an Embed activity, they see:

- The cover image and description (if set to display on top)
- The third-party tool displayed in the iframe
- Optional resource files or text below it
- A **Mark As Completed** button once they've finished

![Learner view of a Miro Whiteboard lesson with the embedded board and Mark As Completed button](https://cdn.sanity.io/images/l9t3o6uq/production/ffa1a6825be03220b5ae69bad01adc44b4a61893-1600x802.png)

Learners are not redirected: everything stays inside the course interface.

## Use case examples

| Scenario | Embedded tool |
| --- | --- |
| Book a mentoring call | Calendly link |
| Watch a tutorial | Loom or YouTube embed |
| Fill out a survey | Typeform or Google Form |
| Collaborate visually | Miro board |
| View a live dashboard | Airtable, Notion or Google Sheets |
| Submit an assignment | Embedded Google Doc or Dropbox Paper |

For a live stream with chat, see [Embed a YouTube live stream with chat](https://support.teachfloor.com/articles/youtube-live-stream-chat).

## Troubleshooting

If your iframe isn't displaying correctly:

- Check the embed code for syntax errors
- Make sure the third-party platform allows iframe embedding
- Use the recommended height and width

If you're still stuck, click the chat icon in the bottom-right corner of Teachfloor to contact our support team.
