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

Multimedia plugins FAQ: Difference between revisions

From MoodleDocs
(navtrail)
Line 8: Line 8:


==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.


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

Revision as of 10:50, 12 December 2011

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


What is the best way of Embedding media in Moodle?

  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 the advantage is that it comes with a player bundled in it.

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.