Difference between revisions of "Multimedia plugins filter"
m (French link)
|Line 63:||Line 63:|
Revision as of 08:50, 22 October 2009
Location: Multimedia Plugins settings link in Site administration > Modules > Filters > Manage filters
The Multimedia plugins filter finds URLs that point to multimedia resources in text and replaces them with an appropriate multimedia player.
Supported media formats
- .mp3 - MPEG Audio Stream, Layer III
- .swf - Macromedia Flash Format File (Adobe, Inc.)
- .mov - QuickTime Video Clip (Apple Computer, Inc.)
- .wmv - Windows Media File (Microsoft)
- .mpg - MPEG Animation
- .avi - Audio Video Interleave File
- .flv - Flash Video File (Macromedia, Inc.)
- .ram - RealMedia Metafile (RealNetworks, Inc.)
- .rpm - RealMedia Player Plug-in (RealNetworks)
- .rm - RealMedia Streaming Media (Real Networks, Inc.)
- .mp4 (in Moodle 1.9.6 onwards)
- .m4v (in Moodle 1.9.6 onwards)
In Moodle 1.9.6 onwards, a YouTube link filter (disabled by default) is also available.
Insert the URL of the multimedia resource into your text (which can be the URL of a file in the course files area). When displayed a suitable player will be provided. Moodle detects the media type using the filename extension, so you should ensure that the file contents match the extension correctly.
For some file types, like Flash, you can size the plugin using an extended syntax:
<a href="somepath.swf?d=640x480">My link name</a>
where the first number is the width in pixels, and the second is the height.
Although Moodle prepares the media files to be played in the browser, the actual playback is handled by various types of browser plug-in software, primarily Adobe Flash, Quicktime, Windows Media Player and Real Player. If users do not have these installed they may be prompted to go and install them by their browser. These pieces of software are generally free, easily installed and widely used so this will only be an issue for small numbers of users.
The settings page is in the administration block. Prior to version 1.7, this can be reach from Configuration > Filters > MultiMedia Plugins. In 1.7 it can be found via Administration > Modules > Filters > MultiMedia Plugins. In 1.8 it can be found via: Notifications > Modules > Filters > MultiMedia Plugins > Settings.
There is an individual setting to turn on or off each supported media type. Note that by default all but the Flash (.swf) filter are enabled. As Flash files present a theoretical security risk, it is strongly recommended not to allow users to add flash content.
Using Moodle forum discussions: