Moodle Plugins directory: Media collection embed | Moodle.org
Media collection embed
Filters ::: filter_mediagallery
Maintained by
Adam Olley
Part of set Media gallery.
Allows you to have carousels of a media gallery or galleries displayed in your course in labels and such.
Latest release:
64 sites
17 downloads
4 fans
Current versions available: 1
When used in conjuction with the TinyMCE plugin (https://moodle.org/plugins/view.php?plugin=tinymce_mediagallery) this plugin allows you to have carousels of a gallery or galleries displayed in your course in labels and such.
This plugin requires the Media collection activity be installed (https://moodle.org/plugins/view.php?plugin=mod_mediagallery).
This plugin was written by Adam Olley <adam.olley@netspot.com.au> for the University of New South Wales (http://www.unsw.edu.au).
Note: for the carousel to be fully functional, your theme needs to have jQuery included on the page(s) the filter displays the carousels on. If you don't have jQuery loaded, the carousel will still appear, and clicking the images will still take you to the gallery.
Contributors
Adam Olley (Lead maintainer)
UNSW UNSW
Please login to view contributors details and/or to contact them
Many thanks for sharing this plugin with the Moodle community.
Please review the validation results and fix all of the issues mentioned. These changes are typically pretty easy to make but if you have any questions just let us know.
Warning Maturity information ($plugin->maturity) not found in version.php
Warning Release name ($plugin->release) not found in version.php
Warning README.md found. It is not recommended to have extensions other than .txt or .htm because file type may not be recognized by OS. You may choose the 'Rename README.* to README.txt' option to rename this file to README.txt (click 'Back' if form is uneditable)
I am less concerned about the README notice as I believe we are preparing to allow for the .md file.
It appears from the README that this plugin is also dependent on the tinymce component so that should probably be added to the version.php file. I had inquired in the media gallery activity module if you were planning on having versions for Moodle 2.6 and later. If you get to 2.7 it may be worth thinking about creating an Atto plugin as well.
If you think appropriate it would be nice to have some type of screenshot. I was successfully able to install the plugin but did not really test it. In part, because I was not exactly sure how to test it so it may help to make the documentation about how to use the filter.
The code checker showed no warnings or errors:
Files found: 4
filter/mediagallery/lang/en/filter_mediagallery.php
filter/mediagallery/db/install.php
filter/mediagallery/version.php
filter/mediagallery/filter.php
Well done!
As mentioned previously because of the licensing issue with https://moodle.org/plugins/view.php?plugin=mod_mediagallery I am going to mark this as needing more work. Please do not hesitate to let me know if there is anything I can do to be supportive of your efforts. Peace - Anthony
p.s. - I noticed that in some places things are referred to as Media collection and other places as Media gallery. I try to encourage consistency unless there is a method to the madness that I have missed.
I've addressed all the issues you've raised in the version I just updated.
As discussed "media collection" refers to the overall collection of user galleries.
Yeah that's the one disappointing limitation. jQuery is indeed available, but the way filters work (at least pre M2.7) makes it difficult to have it dynamically load the carousel and related JS code.
When I update the filter for M2.7+ I hope to be able to have them as fully functioning carousels rather than simply linking off to the gallery.