Media embedding

Från MoodleDocs
Hoppa till:navigering, sök

Moodle makes embedding video and sound files very straightforward. Media (audio and video) may be dragged and dropped directly onto the course page, added as a File resource or linked to as a URL resource and they will also display in Moodle's text editor. Using the Atto editor provides extra options with media files, such as the option to directly record sound and video from the editor.

Display sound and video files


See Video and Audio for instructions on how to embed video and sound files into the Atto editor.

The Multimedia plugins filter must be enabled and then specific players may be enabled or disabled from 'Manage media players' in Site administration.

The default player, VideoJS player supports

    • (video) mov, .mp4, .m4v, .mpeg, .mpe, .mpg, .ogv, .webm, .flv, .f4v
    • (audio) .mp3, .aac, .flac, .m4a, .oga, .ogg, .wav

Other available players are:

  • YouTube (displays videos hosted on YouTube)
  • Vimeo (displays videos hosted on vimeo)
  • Flash animation (.swf)
  • HTML 5 video
  • HTML 5 audio

A default width and height for videos can be set by the administrator from the 'Manage media players' page. Teachers adding videos via the Moodle media button in the Atto editor may also specify a width and height.