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

Multimedia file field: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 11: Line 11:
==Issues==
==Issues==
* Currently the only way to add field's language strings is to apply a patch as mentioned before. This is because currently database module field plugins are not checked for language strings. This issue is being addressed in MDL-9531.
* Currently the only way to add field's language strings is to apply a patch as mentioned before. This is because currently database module field plugins are not checked for language strings. This issue is being addressed in MDL-9531.
* Flash Player 10 is not supported right now, as database activity module data files are not trusted by default to load inline. See [http://moodle.org/mod/forum/discuss.php?d=130087 this discussion] for more details.
* Flash Player 10 is not supported right now, as database activity module data files are not trusted by default to load inline. Inline embedding of user-submitted flash files might be considered as XSS risk, but [[Multimedia_plugins|multimedia filter plugin]] uses allowscriptaccess:"never" parameter which actually blocks any flash-to-browser interaction, including XSS attacks. See [http://moodle.org/mod/forum/discuss.php?d=130087 this discussion] for more details.


==See also==
==See also==

Revision as of 12:20, 12 August 2009

The Multimedia file field is a database activity module field plugin, which enables its users to upload multimedia files into records and display them using multimedia filter plugin: these could be SWF, MP3, FLV and other files. This plugin is based on "file" database field and it is developed by Vlas Voloshin.

Installation

  • Download the latest version of the plugin.
  • Extract "multimedia" folder in the archive to your /moodle/mod/data/field/ folder.
  • Optionally: apply datafield_multimedia.patch on your moodle directory to add two language strings for this field.

Usage

When creating a new database record with multimedia field, you should choose a file to upload into record and its dimensions. You may leave dimensions to zeroes - in this case they will be set to the default of multimedia file you've uploaded.

Issues

  • Currently the only way to add field's language strings is to apply a patch as mentioned before. This is because currently database module field plugins are not checked for language strings. This issue is being addressed in MDL-9531.
  • Flash Player 10 is not supported right now, as database activity module data files are not trusted by default to load inline. Inline embedding of user-submitted flash files might be considered as XSS risk, but multimedia filter plugin uses allowscriptaccess:"never" parameter which actually blocks any flash-to-browser interaction, including XSS attacks. See this discussion for more details.

See also