Keywords: video, embed, view, understand, watch, listen, note take, podcast, vodcast, polling, voting, apps, interaction, media

What is it?

Embedding video, audio and interactive tools into Moodle is an easy way of adding rich and dynamic content to your courses. 

To add a video you will need to use a streaming service that allows embedding, such as UCL MediaCentral, YouTube, Vimeo, Box of Broadcasts (BoB), Khan Academy and mp3 audio files. also has videos that UCL students and staff can access from mobile devices, or you can embed a video from a course into your Moodle course.

Why use it?

Short video and audio clips are a great way to add visual interest and dynamic content to your courses and there is now a huge amount of material available on YouTube and similar public streaming sites. There are also countless websites offering images, video and audio files for use in education. You may also choose to upload your own videos that you have created to YouTube. If you have the web address you can always link to an external video using the web link method we saw earlier, but nowadays, many sites like YouTube make it easy to insert (technically 'embed') video directly in your Moodle page by providing 'cut and paste code'.

You may choose to embed an interactive app, like polldaddy, to allow students to vote on their chosen option and see what others have selected.

Who can use it?

Staff with editing rights on a Moodle course can embed videos and other tools for students to access.

Students can watch the embedded videos, interact with apps. They can also add their own videos and apps into text areas where they have edit access, such as discussion forums and wikis.

Before I start...

First, you need to decide where you want to place your video in the course. In Moodle content can be embedded or linked anywhere that is edited using the Moodle editor e.g. a pagelabelquiz questionHTML (Free Text) blockcourse description etc. You should avoid embedding videos on the Moodle course homepage unless you are using tabs format and you have a single introductory video. Use a page instead to keep the main Moodle course page clutter free. For multiple videos use a book so students can focus on one at a time.

Whether you link to an externally hosted video using a URL or embed code or host your video on Moodle depends on a number different factors. Keep in mind any file including video files hosted on Moodle are limited to a maximum file size of 160 MB. If you're happy for your material to be hosted on a public site then YouTube is a good option and it means the copyright is taken care of (YouTube will take down material they deem to be breaking copyright). If you need the file to hosted internally you should use MediaCentral, which is UCL's internal streaming service.
If you are interested in looking for video and other media resources in your subject area JISC Digital Media provide an excellent site called "Finding Video, Audio and Images Online".

If you are using an external system (like polldaddy) remember you need to ensure no identifying data (like names or emails) are stored, unless you have checked it meets UK data protection laws.

You will need to decide where the video will appear in Moodle. It is usually a good idea to put videos into a separate page or Moodle book (which has multiple pages) rather than directly on the course homepage, as otherwise, students will see the video every time they visit the page. If you are using the Moodle tabs format then embedding a welcome video into a 'Welcome' tab that students will only visit at the start of their module may be a good option too. Just keep in mind when students will access the video and where you can place it to make it easy to access, without cluttering the Moodle course.

Meeting the baseline

The UCL Connected Learning Baseline suggests the following for Structure:

The Resources category indicates that you should:

The Accessibility category suggests that you:

How do I set one up?

Embed a video, or other content

  1. Turn editing on and choose the resource or activity you would like to add the video to.
  2. Copy the embed code from where the content is located (how to do this will vary depending on where your content is hosted). Here are some common video content sites you might embed from. Services marked with a star* require you to log in using your UCL credentials:
  3. Back in Moodle, click on the Edit icon next to your page or label where you want to place your video. In the text editor, click on the HTML button <>  to see the underlying code. Decide where you want the video to go (maybe after a title or some text for example) then Control-V (or right mouse click, Paste) to paste it. Click Save and return to course and you will see the video is embedded and ready to play.

Record an audio or video file via Atto Text Editor

You can now record a 2 minute Audio or Video description using the Atto Text Editor.

Embed an audio file
Moodle will play the popular MP3 audio format directly in the web browser using the in-built Moodle audio player.
In most places where the text editor is used (such as labels, Moodle web pages, activity descriptions etc.) the insert media button in the editor can be used to find or upload an MP3 file (it must have the .mp3 file extension).

Once uploaded Moodle will recognise the file type and automatically insert a small audio player. The picture bellows shows the result of displaying the description of the 'trial workshop activity' where the description is a sound file rather than text.

 Alternatively, you can place a link to the MP3 file in the same way you would link to a document. Clicking the link will launch Moodle's audio player in a new window.

Further guidance on Embedding a video in its own player is available from moodledocs.

If you find any inaccurate or missing information you can even update this yourself (it's a communal wiki).

If you have a specific question about the tool please contact the Digital Education team.


Many video files are too large for Moodle to handle well and it is recommended you do not upload videos directly into Moodle. Instead, you should use MediaCentral or YouTube to upload and stream your video.

We recommend that you enable privacy-enhanced mode.- When you enable privacy-enhanced mode, YouTube will not collect and store info on the users, that are visiting your site, on its server unless they view the video.

Now, Google will collect data only when the user clicks on the play button and watches the video or interacts with it in some capacity. If you leave the video alone, no data will be collected.

File Formats

If you have your own video to upload you should save your file as an mp4, which will enable it to be streamed from any browser and device.

Moodle will automatically recognise .flv (flash video) and use its own player to play these, however, Flash videos should be avoided, as they do not play natively on Mac or mobile devices.

You should also avoid .mov files as they require the QuickTime player (or Quicktime browser plug-in) and there can be problems getting these to play.

Examples and case studies


Questions & Answers

Q. What do I do if the video displays too large on the page?

A. If the video is too large, go back into the Moodle Editor, click on the HTML button and adjust the width and height properties. You may have to experiment a bit to get it looking just right.  

Q. How do I start a video at a particular point?

A. Some video services allow you to start playing a video at a particular point. On Box of Broadcasts, you can create a video clip to do this. On YouTube, you can start a YouTube video at a specific point (for example to skip the introduction) by adding &start=20 or any a number of seconds to the very end of the URL (i.e. before the ?).

Q. How do I start the video automatically?

A. Although this isn't necessarily recommended you can make a YouTube video play automatically by adding &autoplay=1 to the end of the URL. Ideally, you should allow students to start the video themselves though, as they may not have plugged headphones in or they may just not be ready to start watching when they first load the page.

Q. How do I stop related videos showing, or automatically playing when my video is finished?

A. Make sure rel=0, this means that YouTube won't include a list of 'related' videos when your chosen video finishes.

Further information

Also, see M02c - Embed Twitter Feeds.