Embedding video etc. to Moodle

What for?

The embed code, in other words embedding, embeds a different materials of Internet service. A video, a map or a presentation or even a document can be embedded to your web page with the help of the embed code .

A Video which has been uploaded to Vimeo can be embedded to the Moodle course so that students can watch it directly from the Moodle page.

The use of the embed code also helps that a user does not have to open a separate programs or windows. e.g. a Forms questionnaire is directly seen on the page. Embedding usually works OK with a new web-browsers (Chrome, Edge, Firefox) .

Note! The YouTube videos do not need to be added by embedding to the Moodle. Peek the hint from here.

What I did?

  • To help users to watch Vimeo-videos directly from the Moodle page
  • To help fill the Forms (both Google and MS) in Moodle.
  • Padlet-walls directly to Moodle page

How to use?

The Embed code is added with the Moodle course for example

a) Write or paste it to the HTML code of the "Label". - > The video is seen immediately on the page.

b) Write or paste it to the HTML code of the "Page". -> Video is seen int the "page" after a user opens it.

c) The Embed code can also be added elsewhere, for example in the Quiz activity instructions etc. Test, experiment and check what it looks like!


The embed code for your content (link) is usually found from the share link of the services. -Copy it to Moodle

Often Embed code is presented as <> -symbol or Embed-word.

Embed code usually includes a parameters for the service, but the basic code structure is simple

Note1: You may find scale attributes (width, height) to change. (Amog other attributes.)

Note2: Do remember paste the code to the editor in HTML-mode. You can change to the mode from </> -button.


You may start practicing with this "simplified" embed-code for the Vimeo-video. You can change the "address number" of the video.

(Test also this video 312746727 )

<iframe src="https://player.vimeo.com/video/356889779" width="640" height="360" frameborder="0"></iframe>

Who gave the tip?

Antti Peltonen, ICT-Services