Note: You are currently viewing documentation for Moodle 2.4. Up-to-date documentation for the latest stable version of Moodle may be available here: Multimedia plugins FAQ.

Multimedia plugins FAQ

From MoodleDocs

This page is for frequently asked questions about Multimedia plugins and filters.

This page requires updating. Please do so and remove this template when finished.


What is the best way of Embedding media in Moodle?

Sizing of windows in a popup to match media, or of the embed is a problem. Access to the right quality of player often means adding more code. At present Flowplayer is used. ?d=640x480 doesn't work any more.

  1. Interesting discussion on Moodle Mahem list: https://groups.google.com/forum/?pli=1#!topic/moodlemayhem/txt_5pNwATk
  2. Playing Flash FLV & SWF in MOODLE 2.0: http://moodle.org/mod/forum/discuss.php?d=163374
  3. What about SWF? There have been some security worries on using SWF. But tha advantage is that it comes with a player bundled in it.

Tracker issues:

  1. http://tracker.moodle.org/browse/PULL-96

How can I have embedded media resized appropriately?

Some thoughts on this are still in development.

  1. Detect size of file: http://tracker.moodle.org/browse/MDL-8984
  2. Patch: http://tracker.moodle.org/browse/MDL-23870

An extract from here: http://moodle.org/mod/forum/discuss.php?d=169935

You can also add specific dimentions to the end of the attribute HREF inside the anchor <A> tag.

<a href="link-to-some-flash-file.swf?d=480x640">Flash File</a>

Please pay attention to the ?d=480x640 part of the code, which you have to put in, yourself. by switching from HTML mode into TEXT mode.

Change settings in 2.0

Hi, I am using Moodle 2.0 (Build: 20101214) for streaming lecture videos. The vids are encoded as FLV (flash video), H.263 video and MP3 audio. Aspect ratio is 4:3 (640x480). I upload the vids to a repository, and use the "add a file" feature.

The built-in player (flowplayer 3.2.3) works nicely, until you attempt fullscreen viewing. Flowplayer apparently has the scaling set to 'scale', which fills the screen and ignores aspect ratios.

from http://flowplayer.org/documentation/configuration/clips.html, I see that available scaling options are:

   * fit: Fit to window by preserving the aspect ratio encoded in the file's metadata.
   * half: Half-size (preserves aspect ratio)
   * orig: Use the dimensions encoded in the file. If the video is too big for the available space, the video is scaled using the 'fit' option.
   * scale: Scale the video to fill all available space. Ignores the dimensions in the metadata. This is the default setting.

My question is, how do I change this setting? where would I find it?" Useful information to have, maybe.