Adding a YouTube video

If your video is hosted online (such as YouTube or Vimeo) you can simply link to the relevant page by choosing URL from ‘Add an activity or resource’ and pasting in the relevant link.

For more control of how content is displayed on the course, the embed code of a video can be copied from the video hosting platform.

  1. Select the ‘Embed’ option under the ‘share’ option on the video hosting webpage. Here you will find code for inserting an iframe.
  2. Paste this code into the HTML view of the Moodle text editor, editing to display as desired.
  3. Click ‘Save and return to course’.

For detailed information on how to add a video to your course, please check the official Moodle Docs at

Related Articles