Skip to content

pennedav/mediacore-moodle

 
 

Repository files navigation

     __  _____________   _______   __________  ____  ______
    /  |/  / ____/ __ \ /  _/   | / ____/ __ \/ __ \/ ____/
   / /|_/ / __/ / / / / / // /| |/ /   / / / / /_/ / __/
  / /  / / /___/ /_/ /_/ // ___ / /___/ /_/ / _, _/ /___
 /_/  /_/_____/_____//___/_/  |_\____/\____/_/ |_/_____/

A set of Moodle plugins that integrate with MediaCore.

Designed to work with Moodle 2.4+

Overview

These plugins provide a rich set of Moodle-MediaCore integrations using LMS-LTI to connect with your MediaCore site without having to leave Moodle.

Moodle Plugins

Local - local/mediacore - Provides a custom LTI integration that is used by the other plugins.

Repository - repository/mediacore - Provides a custom 'repository' which will be selectable from the left hand column of the Moodle "file picker".

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.

Filter - filter/mediacore - Transforms the video URLs generated by the TinyMCE and Repository plugins into MediaCore's embedded video player.

Installation/Upgrade

Upgrading from MediaCore Plugin v1.5/v1.6

To make the installation go smoothly 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/filters/mediacore
  • path/to/moodle/lib/editor/tinymce/plugins/mediacore
  • path/to/moodle/local/mediacore
  • path/to/moodle/repository/mediacore

After doing this you will also need to Navigate to: Site administration -> Plugins -> Plugins Overview and uninstall the following MediaCore plugin code from the Moodle database:

  • MediaCore media filter
  • Mediacore search
  • MediaCore media picker
  • Mediacore Package libraries

** Note: any previous Moodle/MediaCore settings will be removed when you delete or upgrade the MediaCore plugin from v1.6 to v2.0. These old v1.6 settings are no longer valid.*

Once any old versions have been removed, you can begin to install the new version of the plugin.

Installing/Upgrading from MediaCore Plugin v2.0+

Upgrading the MediaCore plugin v2.0 is done by copying the following folders into the correct Moodle directories.

  • filters/mediacore into path/to/moodle/filters/
  • lib/editor/tinymce/plugins/mediacore into path/to/moodle/lib/editor/tinymce/plugins/
  • local/mediacore into path/to/moodle/local/
  • repository/mediacore into path/to/moodle/repository/

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.

Moodle/MediaCore LTI configuration setup:

To hook your MediaCore site into Moodle you must navigate to: Site administration -> Plugins -> Local plugins -> MediaCore package config and enter:

  • the URL of your MediaCore site (i.e. http://demo.mediacore.tv). Note if your Moodle site is served over https, then your MediaCore site url should also include https (i.e. https://demo.mediacore.tv)
  • 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)

Moodle/MediaCore Filter configuration setup:

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'.

Moodle/MediaCore Repository configuration setup:

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".

Support Links

About

MediaCore is an online video platform for managing, encoding, monetizing and delivering video to mobile and desktop devices. MediaCore makes it easy for any organization to share video either publicly or privately and build an amazing user experience on both desktop and mobile browsers around their own content.

Who's using Mediacore? More and more MediaCore powered sites are popping up all over the world. You can learn more about some of these sites here on our MediaCore showcase.

About

MediaCore plugin for Moodle

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 90.7%
  • JavaScript 5.2%
  • Shell 4.1%