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

Multimedia plugins FAQ: Difference between revisions

From MoodleDocs
(removed thanks to Ken Task)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page is for frequently asked questions about Multimedia plugins and filters.
{{Filters}}
{{Update}}
==What is the best way of Embedding media in Moodle?==


==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.
#Interesting discussion on Moodle Mahem list: https://groups.google.com/forum/?pli=1#!topic/moodlemayhem/txt_5pNwATk
#Playing Flash FLV & SWF in MOODLE 2.0: http://moodle.org/mod/forum/discuss.php?d=163374
#Playing Flash FLV & SWF in MOODLE 2.0: http://moodle.org/mod/forum/discuss.php?d=163374
#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:
#http://tracker.moodle.org/browse/PULL-96


==How can I have embedded media resized appropriately?==
==How can I have embedded media resized appropriately?==
Some thoughts on this are still in development.
You can add specific dimensions to the end of the attribute HREF inside the anchor <A> tag.
 
#Detect size of file: http://tracker.moodle.org/browse/MDL-8984
#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.
<pre>
<pre>
<a href="link-to-some-flash-file.swf?d=480x640">Flash File</a>
<a href="link-to-some-flash-file.swf?d=480x640">Flash File</a>
</pre>
</pre>
Please pay attention to the '''?d=480x640''' part of the code, which you have to put in, yourself.
where 480x460 are the dimensions in pixels that you wish to use.
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.
==See also==
    * 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?"
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=194684 Moodle Media player not appearing] forum discussion
Useful information to have, maybe.
* [[SWF Activity Module]]


[[Category:FAQ]]
[[Category:FAQ]]

Latest revision as of 12:39, 29 September 2014

What is the best way of Embedding media in Moodle?

  1. Playing Flash FLV & SWF in MOODLE 2.0: http://moodle.org/mod/forum/discuss.php?d=163374

How can I have embedded media resized appropriately?

You can add specific dimensions 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>

where 480x460 are the dimensions in pixels that you wish to use.

See also