Skip to content

Embedding content

Mika Tompuri edited this page Dec 17, 2024 · 7 revisions

Embedding content

Recommended way: Platform specific block

In addition to the generic embed block, the platform has dedicated blocks for embedding content from some services that are often used.

Examples:

Unitube

Alternative 1: The embed block

To use the embed block, create a blank line in the editor, type /embed and select the embed block from the list. Next, paste a link to the content you want to embed.

Alternative 2: iFrame block

If you want to embed a website that is not supported by the embed block, you can try to use the Iframe block. How to use:

  1. Create a new Iframe block
  2. Paste either either the url of the website you want to embed or the html code that the website provides for embedding.
  3. Save the page and preview the Iframe on the course material
  4. If needed, change the iframe height from the sidebar

Note that even if you provide the HTML for the embed, we will only take the url from it, and put it into a sandboxed Iframe. If the html you provide contains for example script tags, we won't load them security reasons. If you need better integration than what the Iframe block provides we'll need to add support to your website to the embed block.

Please also make sure that the terms and conditions of the webpage you're trying to embed allows you to embed that page.