There are a variety of ways to add videos to a Moodle course
Full Length Videos
To stream full length files, please contact the Digital Initiatives Librarian in McCabe or the Director of the Language Resource Lab (for Modern Langauges). They can secure rights to screen feature films (if required) and set up the video for streaming via Moodle.
Adding a YouTube or Vimeo video
There are several methods to add a YouTube or Vimeo video to your Moodle course
- The easiest way to add a YouTube video is to add a link to the video, by adding a URL resource. Copy the URL of the YouTube video and paste it into the address of the URL resource.
- If you create link to the YouTube video in a label or Moodle page (using the chain icon in the text editor), Moodle will replace the link with the embedded video.
- You can also embed a video from YouTube into your course using the following steps
- Add a new Page in Moodle (under resources)
- Go to the HTML source view by clicking on the filmstrip button in the content box. A pop up will appear.
- Go to YouTube or Vimeo and copy the video embed code. This is under the "Share" link.
- Head back to Moodle. In the pop up window, paste the video URL in the field labeled "Enter URL".
- In the next field, give your video a friendly name.
- Click the "Insert" button.
Adding a Video from Google Drive
You can upload many common video files to Google Drive and view the videos right from within Google Drive. This is handy if you want to control the permissions via Google Drive or want to avoid the ads in the YouTube interface. Upload the video to Google Drive just as you would any other file. When you click on the video it will display within the Google Drive interface (it may take a few minutes to process after you have uploaded the video). To add the video to Moodle, copy the URL to video (or a folder with several videos) and add it to Moodle as a url link. Make sure to set the permissions of the video appropriately. Most instructors will allow anyone at Swarthmore or any users with the link to view the video.
Google Drive will compress and reduce the quality of the video a bit. For most purposes this is fine, but if you require the highest quality video, you will likely prefer one of the other methods.
Uploading a video to Moodle
If you have your own video you want to add to Moodle, you can upload it just like any other file or embed it in a Moodle page using the Moodle Media button. If it is a large file (over 100MB) or a longer video, it is best to contact ITS to upload your file to our streaming video server. Email firstname.lastname@example.org with your request.
Ensemble video streaming server
If you have an account on Ensemble, our video streaming service, you can upload and embed videos directly from within Moodle. To access your Ensemble library from a Moodle text box, click on the "Insert Moodle Media" button (looks like a filmstrip), then find media to upload, then click on the Ensemble Video or Ensemble Playlist links on the left side. You can then navigate to your videos and embed them. More details about Ensemble can be found on the Ensemble Video Streaming Service page.
Embed a video file on a Moodle page
Moodle has a built-in media player that can play videos. The player can be inserted into any text editing box. Typically, most users create a new page in Moodle and then click on the "Insert Moodle Media" button (looks like a filmstrip) in the page editor. From here you can upload your video and Moodle will embed the video within a player on the page. You will not see the video player while editing the page, but it will show up when the page is saved.
Preventing Auto-Embedding of Videos
If you create a link to a YouTube video in a label, page, or other description field, Moodle will automatically embed the YouTube video instead of just linking to the video. Similarly, if you insert a link to a video or audio file in a text editor, Moodle will convert the link to an embedded media player.
If you just want a simple link, you can do one of the following things:
- Add the link by using Add a resource or activity → URL. This will not embed the video.
- Turn off automatic multimedia embedding for your course. This can be set under Gear Icon (top right of page) → Filters → Multimedia plugins → Off. This setting will affect content in the entire course. If you don't want to affect the entire course, you can turn the multimedia filter off for a single page by editing the page, clicking on Gear Icon (top right of page) → Filters , and setting Multimedia plugins to Off.
- Edit the YouTube link to prevent auto-embedding. For example, if the YouTube link is http://www.youtube.com/watch?v=0PfzLRs7YC0, adding a parameter to the middle will prevent auto-embedding: http://www.youtube.com/watch?embed=no&v=0PfzLRs7YC0 (add the text in bold to the URL). Note for advanced users: Moodle is looking for a match for
watch?v=, so adding something to the middle disrupts the filter.