Working with media

Video is a very powerful tool to use in a Moodle course, allowing students, for example to catch up on lectures they missed, learn from a "how to" screencast, or improve their language skills by watching native speakers interact.


Where to host the videos

If you upload your videos to your Moodle site, storing them on your own server, then you retain ultimate control. If we are worried about multiple copies of the same video taking up lots of space, then that is not a problem; the Moodle file system is clever enough to only store a single copy of a file, no matter how many times you upload it to your server.

When server space or upload limits are restricted, it is convenient to upload videos to an online site like YouTube or Vimeo. They can easily be embedded inside Moodle from such sites and privacy can still be maintained if you choose their private video sharing option.

Cross domain video hosting

Flash video players require permission to play videos hosted on a different URL, e.g. needs permission to play video files hosted at The permission files are stored on the root domain of where the video files are hosted, e.g. If does not have a cross domain policy file that permits to play videos, Flash Player will not permit it. Further details are available here [1].

Many public video hosting services, such as, already have catch-all cross domain policy files in place and so videos can be played from them via your Moodle without any cross domain security issues arising.

Ways of displaying video

Linking to a video online elsewhere

Uploading a video

New feature
in Moodle 3.3!

Embedding a video in its own player

Moodle uses VideoJS player as its default player as it is responsive and displays video well across devices and browsers. With the Multimedia plugins filter enabled, videos may be embedded as follows:

Using the Moodle media icon

(Note that these instructions are for the Atto editor)

Using a hyperlink

(Note: this method has no advantage over using the media icon.)

Using embed code to display external videos

See also

Forum discussions: