Learn@Illinois Moodle - Inserting a Video Using Embed Code

This articles details how to add a video to Moodle using the embed code.

There are many ways to insert a video, but the most common way is by inserting embed code.

Note: Due to security policies, students may not be able to embed videos using the embed code. They should use Illinois Media Space instead.

Getting Embed Code

An embed code is different than a web link. A web link begins with "https://" while embed code will begin with "<iframe>".

YouTube Example

  1. Click on the share button.
  2. Click on the embed tab
  3. Copy the code in the window. You can specify a start time on an individual video or a start video on a playlist of videos here.

Vimeo Example

  1. Click on the share button.
  2. Copy the code in the embed window. You can choose from multiple options before copying the code to get exactly what you want.

Adding Embed Code Using the Moodle Text Editor

  1. If your editing tools are not already expanded, click the Toolbar Toggle button.
  2. You will need to insert the code into the HTML. To access the HTML, click the Edit HTML source button
  3. Paste the code and click Update. If you're adding a video to a page with lots of other code, just add the video to the top. After you've clicked Update you can drag the video to the appropriate place on the page without worrying about editing the code.

For more information about embedding videos:

Keywords:moodle, text editor, embedding video, YouTube   Doc ID:71421
Owner:ATLAS-TLT .Group:University of Illinois Liberal Arts and Sciences
Created:2017-03-06 16:46 CDTUpdated:2018-07-06 14:40 CDT
Sites:University of Illinois Liberal Arts and Sciences
Feedback:  0   0