To offer video/media in Moodle, considerations should be made as to the sizes of the media files in question. In most cases the server hosting Moodle is not designed to handle distributing large videos to many users. Ignoring this could result in the site or videos loading slowly. Usually, if a video file is larger than 5MBs we recommend using a server designed to stream/distribute video. Lambda offers a CDN service which is designed to provide large files to users across the world. If interested, please ask for more information on the CDN service and read this article: Delivering video and other media content with CDN
If the video file is small, the Moodle HTML editor and media filters can be used to upload and display media content.
Sections/Summary of the Steps
Before getting into the details of using media and video files in Moodle, please note the following sections/steps.
This article will also expand upon the following.
Step 1: Enable media filters
Navigate to Administration block > Site administration > Plugins > Filters > Manage filters
Make sure the 'Multimedia plugins' filter is active (on) and is applying to content.
Next, navigate to Administration block > Site Administration > Appearance > Media Embedding
Make sure you put check marks in the tickboxes beside all the media types you intend on using within Moodle. Click 'Save changes' when the settings are to your liking.
Step 2: Upload and display the media
Media can be displayed in activities and resources which use the HTML editor. For this exampled we will use the “Page” resource type.
Enter course > turn editing on > click 'Add an activity or resource' > from the 'Add an activity or resource' menu select 'Page'
- Enter a Name and description
- Go to the content section and use the HTML editor to type in your text based content
- To insert media use the media icon which is part of the HTML editor. Note that mousing over each icon should display its description (the media icon displays 'Insert Moodle media')
- In the window that opens after clicking on the media icon click the “Find or upload a sound, video or applet”
- Click upload a file (or if the site administrator has enabled them, you could search a repository like Youtube) and the 'Choose File' button
- Browse for the file on your desktop
- Once found fill in Save as, Author, and choose license
- Click 'Upload this file'
- Click 'Insert'
Note the video will display as a hyperlink in the editing window but once saved the link should be converted by the media filter into the video or auto file player appropriate for video/media.
- Fill out the rest of the page display preferences
- Click save changes
In Step 2, we used the Page resource to add the media content to the Moodle site. This is a great option if you are going to be including other information for the students in addition to the media. However, while it may seem minor, accessing the page is one more click for the user. You may want to consider having the video embedded directly on the main course page.
To achieve this, follow the instructions in Step 2, but instead of adding a Page resource, select Label.
For example, here we have added a Youtube video as a label: