Difference between revisions of "Media embedding"

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 2.7. Up-to-date documentation for the latest stable version of Moodle may be available here: Media embedding.

(Embedding audio and video, Enabling media embedding)
Line 1: Line 1:
{{Working with media}}{{New features}}
+
{{Working with media}}
An administrator can enable selected media players in ''Settings > Site administration > Appearance > Media embedding''.
+
==Embedding audio and video==
 +
[[File:mp3 player.png|thumb|MP3 player]]
 +
Audio and video may be embedded in a course in the following ways:
 +
 
 +
* As a [[File module settings|file resource]]
 +
* As a [[URL module settings|URL resource]] with embed as the display option
 +
* In a [[Lesson settings|lesson popup]]
 +
* In any text area using the Moodle media button in the [[Text editor|text editor]] or simply by typing the URL of media file
 +
 
 +
The media file link is then replaced with an appropriate multimedia player which can play the resource.
 +
 
 +
==Enabling media embedding==
 +
 
 +
To enable the embedding of media files, an admin must enable
 +
 
 +
# Appropriate media players (see below)
 +
# The [[Multimedia plugins filter]]
 +
 
 +
==Site administration settings==
 +
{{New features}}An administrator can enable selected media players in ''Settings > Site administration > Appearance > Media embedding''.
  
 
===Available players===
 
===Available players===
Line 28: Line 47:
 
==See also==
 
==See also==
  
* [[:dev:Media embedding|Media embedding developer documentation]]
+
* [[:dev:Media embedding]] developer documentation including information on how to change the size of the media player
  
 
[[Category:Site administration]]
 
[[Category:Site administration]]

Revision as of 16:39, 18 July 2012

Embedding audio and video

MP3 player

Audio and video may be embedded in a course in the following ways:

The media file link is then replaced with an appropriate multimedia player which can play the resource.

Enabling media embedding

To enable the embedding of media files, an admin must enable

  1. Appropriate media players (see below)
  2. The Multimedia plugins filter

Site administration settings

New feature
in Moodle 2.7!
An administrator can enable selected media players in Settings > Site administration > Appearance > Media embedding.

Available players

  • YouTube (displays videos hosted on youtube)
  • Vimeo (displays videos hosted on vimeo)
  • .mp3 - MPEG Audio Stream, Layer III
  • .flv - Flash video
  • .f4v - Flash video
  • .swf - Macromedia Flash animation File (Adobe, Inc.)
Note: Only used in trusted texts as it has potential security issues
  • .ogg - HTML 5 audio
  • .acc - HTML 5 audio
  • .mp3 - HTML 5 audio
  • .webm - HTML 5 video
  • .m4v - HTML 5 video
  • .ogv - HTML 5 video

Legacy media players

The following legacy media player formats are also available but not recommended for general usage:

  • .mov - QuickTime player (requires QuickTime player or codec)
  • .mp4 - QuickTime player (requires QuickTime player or codec)
  • .m4a - QuickTime player (requires QuickTime player or codec)
  • .mpg - MPEG animation - QuickTime player (requires QuickTime player or codec)
  • .wmv - Windows media player (Microsoft)-not guaranteed to work in browsers other than IE and non-Windows systems
  • .avi - Windows media player - not guaranteed to work in browsers other than IE and non-Windows systems

See also

  • dev:Media embedding developer documentation including information on how to change the size of the media player