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.
- iframe code in the HTML view of the text editor
- 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.
- 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.
-
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.
-
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.
-
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".
-
04
Paste the iframe code
Paste the iframe code and switch the HTML view off again before you continue writing.
-
05
Save and check
Save and check the player. If it is missing after saving, Moodle has removed the iframe; see the notes below.
-
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.
PricingThe 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 troubleshooting05 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.
- MoodleDocs: Iframe https://docs.moodle.org/501/en/Iframe
06 Read on
Next
- All integrations Link or iframe code, and the guides for more systems.
- Embed reference Options, sizes, troubleshooting and privacy.
- Embed video in Notion Link to paste in the Embed block. Notion loads embeds through Iframely; please test the result.
- Embed video in Teachable iframe code in the Custom Code block of a lesson.
- Embed video in WordPress iframe code in the Custom HTML block. The link in its own paragraph may work, but the player then runs in a sandbox.
- Pricing What is in Free and what starts with Pro.
07
Upload a video, copy the code, paste it.
The free plan includes the iframe embed. An account is all you need.