Multimedia plugins FAQ: Difference between revisions

From MoodleDocs
page update
 
(32 intermediate revisions by 8 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?==
See [[Video]] and [[Audio]].
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
#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:
== The video player is not appearing for me. I only see a link or embed code text.==
#http://tracker.moodle.org/browse/PULL-96


==How can I have embedded media resized appropriately?==
Make sure that the Multimedia plugins filter is on in ''Site administration > Plugins > Filters > Manage filters''.
Some thoughts on this are still in development.


#Detect size of file: http://tracker.moodle.org/browse/MDL-8984
Note: the order of filters matters, as they are processed in order such that one filter may affect another. For more details, see [[Managing filters]].
#Patch: http://tracker.moodle.org/browse/MDL-23870


An extract from here: http://moodle.org/mod/forum/discuss.php?d=169935
==How can I have embedded media resized appropriately?==


You can also add specific dimentions to the end of the attribute HREF inside the anchor <A> tag.
The administrator can set a default size from the [[VideoJS player]] page, and course teachers can resize individual videos from 'Display options' when clicking the Media button in the [[Text editor]] upon adding a video file.
<pre>
<a href="link-to-some-flash-file.swf?d=480x640">Flash File</a>
</pre>
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==
==See also==
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.
* [[Editing text]]
* [[Multimedia plugins filter]]
* [[Video]]


from http://flowplayer.org/documentation/configuration/clips.html, I see that available scaling options are:
[[Category:FAQ]]
 
    * 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?"
[[es:Plugins multimedia FAQ]]
Useful information to have, maybe.
[[fr:FAQ sur l'extension multimédia]]
 
[[Category:FAQ]]

Latest revision as of 14:44, 8 July 2025

What is the best way of embedding media in Moodle?

See Video and Audio.

The video player is not appearing for me. I only see a link or embed code text.

Make sure that the Multimedia plugins filter is on in Site administration > Plugins > Filters > Manage filters.

Note: the order of filters matters, as they are processed in order such that one filter may affect another. For more details, see Managing filters.

How can I have embedded media resized appropriately?

The administrator can set a default size from the VideoJS player page, and course teachers can resize individual videos from 'Display options' when clicking the Media button in the Text editor upon adding a video file.

See also