Skip to content
Tracking cookies 0 % Revenue share 4K 4K & HDR ISO 27001 German servers only No cookie banner No US cloud 100 % 100% Ad-free

01 Guide

Embed video in Moodle

In Moodle you paste the iframe code in the HTML view of the text editor. Moodle does not allow iframes everywhere though, and removes them when saving in some places.

At a glance
Method
iframe code in the HTML view of the text editor
What you need
A place where Moodle allows iframes, such as a section description, a text area (label) or a web page. According to MoodleDocs iframes are not allowed everywhere.
At AboveStream
From the Free plan. Domain restriction from Pro.

02 Steps

How to do it

From copying in the dashboard to the first playback on your page.

  1. 01
    Copy the iframe code in AboveStream

    Open the video in the dashboard, create a link of type "Embed Code" under "Share" with "Create New Link", and open "Set up embed". Under "Customize" set start time, autoplay or size if you need to, then copy the iframe code. The section appears once the video has finished processing.

  2. 02
    Open editing

    Open the course, switch editing on and open the place where the video should appear, for example a section description, a text area or a web page.

  3. 03
    Switch on the HTML view

    In the text editor switch on the display of the HTML code, depending on editor and version the button with "<>" or "Show HTML code".

  4. 04
    Paste the iframe code

    Paste the iframe code and switch the HTML view off again before you continue writing.

  5. 05
    Save and check

    Save and check the player. If it is missing after saving, Moodle has removed the iframe; see the notes below.

  6. 06
    Open the page and play the video

    Open the published page in a private browser window, start the video and try fullscreen. If the player does not load, the troubleshooting in the embed reference walks through the most common causes.

03 Limits

What to watch for

What does not work, or does not work reliably, in this system is stated up front.

  • Not allowed everywhere According to MoodleDocs, Moodle does not allow iframes everywhere, especially not in activities that all participants contribute to. In assignment submissions, wiki, forum, database, glossary and blog an embedded iframe is removed when saving. That is Moodle behavior; AboveStream cannot influence it.
  • Code gets altered If Moodle removes parts of the responsive code, generate the fixed-size code in the generator.
  • Domain restriction: enter the right domain From Pro you can set the domains an embed plays on. The domain entered has to be that of the page that actually loads the player. With hosted tools that can be the tool's domain rather than your own. Test the result after publishing. Without a referer the embed answers with 403.

04 Questions

Questions about this system

Does embedding cost extra?

No. The iframe embed is part of every plan, including Free. Only domain restriction starts with Pro.

Pricing
The player does not load. What now?

First check that the code was copied completely and that the page runs over HTTPS. After that, domain restriction, Content Security Policy and the other points in the troubleshooting help.

Go to troubleshooting

05 Sources

Where the information comes from

This guide rests on the following vendor help pages, retrieved on November 11, 2026. Details about AboveStream come from the product itself.

Menus and plans change. If your editor differs, the vendor's current help applies. We are not affiliated with the vendors named.

06 Read on

Next

07

Upload a video, copy the code, paste it.

The free plan includes the iframe embed. An account is all you need.