Multimedia file field: Difference between revisions
From MoodleDocs
(New page: 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_plugins|mult...) |
No edit summary |
||
Line 5: | Line 5: | ||
* Extract "multimedia" folder in the archive to your /moodle/mod/data/field/ folder. | * 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. | * 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== | ==Issues== |
Revision as of 14:08, 11 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. See this discussion for more details.
See also
- Download the plugin
- CONTRIB-1426 - original contrib tracker page
- Modules and Plugins record