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.
- Select the ‘Embed’ option under the ‘share’ option on the video hosting webpage. Here you will find code for inserting an iframe.
- Paste this code into the HTML view of the Moodle text editor, editing to display as desired.
- 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 https://docs.moodle.org/36/en/Video