There are a few 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
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.
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 "<>" button in the content box. You may need to click on the "Toolbar Toggle" ibutton n the top left of the text editor to see the "<>" button.
- Go to YouTube or Vimeo and copy the video embed code. This is under the "Share" link.
- Paste the embed code into the Moodle page content box.
- Save the page.
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 help@swarthmore.edu 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 Administration block → Course administration → 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 Page module administration → 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.