Multimedia file field: Różnice pomiędzy wersjami
Z 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...) |
Nie podano opisu zmian |
||
(Nie pokazano 2 pośrednich wersji utworzonych przez tego samego użytkownika) | |||
Linia 5: | Linia 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== | ||
* 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. 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== |
Aktualna wersja na dzień 12:21, 12 sie 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. 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
- Download the plugin
- CONTRIB-1426 - original contrib tracker page
- Modules and Plugins record