This page gives you instructions for embedding a video in your Moodle course from either YouTube or theBox. You can do this wherever the Moodle text editing box displays in the course.
When you embed a video in Moodle, it is still stored on the video hosting site (e.g. on YouTube or theBox), but you can view it directly in Moodle.
Students can also embed videos in forums they post to in Moodle. If you expect that they will do this, in your forum introduction include a link to the student instructions for video embedding.
Step by step instructions
theBox is UNSW's Media Management Tool. View instructions on how to use theBox to upload and share videos in your Moodle course.
This is the most straightforward method of inserting a YouTube video in a course, but you cannot resize the video once it is uploaded.
- Locate the relevant video on the YouTube website, and copy its URL.
- In the text editor of the page where you want to embed the video, highlight the link text and click the link icon.
- In the Insert/edit link window, paste the URL into the Link URL field and click Insert. The text will display in the text editor as link text. Click Save Changes.
- The video will be displayed in the chosen location.
Teachers or students can use the following method:
- Go to the YouTube page for the relevant video. At the bottom-right of the video frame, click Share.
- Options for sharing will display. Click Embed. A popup box appears with some options below it.
- If the standard embed size of 560 x 315 pixels is suitable for your course purposes then go to step 4 below. Otherwise, you can change the video size by entering your preferred width and height in the code as shown below. You can also change several settings such as the starting time under Embed options.
- Select all the code in the Embed Video box and Copy it.
- In Moodle, in the text editor, click the Edit HTML Source icon.
- In the HTML Source Editor, click where you want the video to display, and Paste in the embed code.
- Click Update and then Click Save.
You can resize a YouTube video that you have embedded in a Moodle course by following these instructions:
- In the text editor, click the Edit HTML Source icon
In the HTML Source Editor window, locate the HTML tags for width and height. The numbers accompanying these tags indicate the current pixel width and height of the video. Change these numbers to suit the size you want, being careful to maintain the aspect ratio so that the video does not become distorted.
- Click Update.
- Check that your video displays at the correct size.