__ _____________ _______ __________ ____ ______
/ |/ / ____/ __ \ / _/ | / ____/ __ \/ __ \/ ____/
/ /|_/ / __/ / / / / / // /| |/ / / / / / /_/ / __/
/ / / / /___/ /_/ /_/ // ___ / /___/ /_/ / _, _/ /___
/_/ /_/_____/_____//___/_/ |_\____/\____/_/ |_/_____/
A set of Moodle plugins that integrate with MediaCore.
Designed to work with Moodle 2.3+. Tested and compatible up to Moodle v2.6.
These plugins provide a rich set of Moodle-MediaCore integrations using LMS-LTI to connect with your MediaCore site without having to leave Moodle.
Local (local/mediacore)
- Provides LTI integration libraries and configuration setup that is used by the other plugins.
Repository (repository/mediacore)
- Provides a custom 'repository' file picker as part of Moodle's built-in media integration.
Filter (filter/mediacore)
- Transforms the video URLs generated by the TinyMCE and Repository plugins into MediaCore's embedded media player.
TinyMce (lib/editor/tinymce/plugins/mediacore)
- Provides a rich integration with MediaCore, allowing you to launch the "MediaCore Chooser" from a custom button added to every TinyMCE editor.
Upgrading the MediaCore plugin is done by copying the following folders into the correct Moodle directories.
- Copy
local/mediacore
intopath/to/your/moodle/local/
- Copy
repository/mediacore
intopath/to/your/moodle/repository/
- Copy
filters/mediacore
intopath/to/your/moodle/filters/
- Copy
lib/editor/tinymce/mediacore
intopath/to/your/moodle/lib/editor/tinymce/tiny_mce/{version}/plugins/
- Copy
lib/editor/tinymce/plugins/mediacore
intopath/to/your/moodle/lib/editor/tinymce/plugins/
To finalize the installation you will need to navigate to: Site administration -> Notifications
and click "Check for available updates". Click "Upgrade
Moodle database now" to complete this step.
You may be asked to enter any new configuration settings as well.
It's always a good idea to purge the Moodle caches after this step as well :)
To hook your MediaCore site into Moodle you must navigate to: Site administration -> Plugins -> Local plugins -> MediaCore package config
and enter:
- The
hostname
of your MediaCore site (i.e. demo.mediacore.tv). - The
scheme
you wish to launch the Chooser and view embeds from (i.e. HTTP or HTTPS) - The name of your
lti consumer key
(this must match a valid LTI consumer in your MediaCore site) - The secret of your
lti shared secret
(this also must match the secret in the LTI consumer above)
You will also need to enable the repository. it may be turned on by navigating
to: Site administration -> Plugins -> Repositories -> Manage Repositories
and
selecting Enabled and visible
from drop down menu next to "MediaCore
search".
In order for videos to display in Moodle, you must enable the MediaCore Filter.
This can be turned on by navigating to: Site administration -> Plugins -> Filters -> Manage Filters
and selecting On
from drop down menu in the
active
column next to 'MediaCore media filter'.
-
Move the
editor_plugin.js
file from/lib/editor/tinymce/plugins/mediacore/tinymce
tolib/editor/tinymce/tiny_mce/{version}/plugins/mediacore/
and rename it toeditor_plugin_src.js
. -
Then, delete the
/lib/editor/tinymce/plugins/mediacore/tinymce
directory. -
Now we need to let Moodle know about the MediaCore TinyMCE plugin. Open:
/path/to/moodle/lib/editor/tinymce/lib.php
-
At the bottom of the
get_init_params
function, just abovereturn $params
, add the following lines of code://for mediacore if (class_exists('mediacore_client', true /* autoload */)) { $mcore_client = new mediacore_client(); $params = $mcore_client->configure_tinymce_lib_params($filters, $params); }
- Once the
lib/editor/tinymce/plugins/mediacore
directory is in place, configuration is automatic.
To do a clean install we recommend you remove any old versions of the MediaCore plugin from your Moodle install. This is done by removing the following directories, if they exist:
path/to/moodle/local/mediacore
path/to/moodle/repository/mediacore
path/to/moodle/filters/mediacore
path/to/moodle/lib/editor/tinymce/tiny_mce/{version}/plugins/mediacore
path/to/moodle/lib/editor/tinymce/plugins/mediacore
You will also need to Navigate to: Site administration -> Plugins -> Plugins Overview
and uninstall the following MediaCore plugin code
from the Moodle database:
Mediacore package libraries
Mediacore search
MediaCore media filter
MediaCore media picker
** Note: any previous Moodle/MediaCore settings will be removed when you delete or upgrade the MediaCore plugin **
Once any old versions have been removed, you can retry the installation steps above.
Video is transforming education, and MediaCore helps hundreds of educational institutions around the world embrace it. The MediaCore Video Platform puts powerful video learning and sharing tools into the hands of every student and professor โ empowering them to easily capture, manage and share video privately and securely across all platforms and mobile devices.
MediaCore has received a wide range of awards, most recently being recognized by Fast Company as one of the top ten most innovative companies in digital video.