General plugins (Local): YU Kaltura Media Local Libraries

Maintained by Picture of Tomoya Saito Tomoya Saito
Local libraries plugin for third-party's non-KAF "YU Kaltura Media Package"
18 sites

YU Kaltura Media Package

"YU Kaltura Media Package" is a third-party's Kaltura plugin package for Moodle 2.9 or later. This package is developed by the Media and Information Technology Center, Yamaguchi University. By using this package, users can upload media to the Kaltura server, and easily embed the media in Moodle courses. Moreover, this package provides some useful functions. Since this package does not require Kaltura Application Framework (KAF), can work with Kaltura Community Edition (CE) and other editions.

In order to use this package, administrators must install "YU Kaltura Media Local Libraries" and "YU Kaltura Media Gallery".
These plugins provide functions such as uploading, playing back and deleting media files to users.

In addition, the administrators can install "YU Kaltura Media Assignment" and "YU Kaltura Media Resource".
These plugins provide teachers ability of creating resource and activity modules which use kaltura media in their Moodle courses.

Please note that there is a chance this module will not work on some Moodle environment. Also, this package is only available in English. Stay tuned to future versions for other language supports.

Original plugin package ("Kaltura Video Package") has better functions than ours and is easy to use. So that, for customers of the "Kaltura SaaS Edition", use the original plugin package is the better.

YU Kaltura Media Local Libraries for Moodle

This plugin provides libraries and APIs and power other "YU Kaltura Media Package" plugins.
This plugin is updated with stable releases. To follow active development on GitHub, click here


  • PHP5.3 or greater.
  • Web browsers must support the JavaScript and HTML5.
  • System administrators must use the same communication protocol for all routes (between the web browser and the Moodle, between the Moodle and the Kaltura, and between the web browser and the Kaltura). It is better to use HTTPS as the communication protocol.
  • Administrators must not delete "Default" access control profile from their Kaltura server. If they delete the "Default" profile, they must create new profile named "Default" before install our plugins.
  • These plugins do not support Flash players. Therefore, please use HTML5 players.

Supported themes

  • Clean
  • Boost (version 1.1.7 and later)

This plugin package might be able to work with other themes.


Unzip the plugin into /local/yukaltura within your Moodle install.

Installation will be completed after you log in as an administrator and access the notification menu.

How to use

  • User's guide, click here.
  • Demonstration web page, click here.

Targeted Moodle versions

Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6


  • MOODLE_29_STABLE -> Moodle2.9 branch
  • MOODLE_30_STABLE -> Moodle3.0 branch
  • MOODLE_31_STABLE -> Moodle3.1 branch
  • MOODLE_32_STABLE -> Moodle3.2 branch
  • MOODLE_33_STABLE -> Moodle3.3 branch
  • MOODLE_34_STABLE -> Moodle3.4 branch
  • MOODLE_35_STABLE -> Moodle3.5 branch
  • MOODLE_36_STABLE -> Moodle3.6 branch

First clone the repository with "git clone", then "git checkout MOODLE_29_STABLE(branch name)" to switch branches.


  • We are not responsible for any problem caused by this software.
  • This software follows the license policy of Moodle (GNU GPL v3).
  • "Kaltura" is the registered trademark of the Kaltura Inc.
  • Web-camera recording function in "My Media" supports the Mozilla Firefox, Google Chrome, Opera and Safari. For smartphones and tablets, you can record  and upload movies through a normal media uploader.
  • Uploading and recording functions in resource and activity modules may not work well with smartphones. Because, low resolution screen cannot display these forms correctly.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Tomoya Saito
Tomoya Saito (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Tomoya Saito
    Mon, 11 Dec 2017, 6:21 PM
    @wz z
    First of all, we appreciate your attention.

    The specifications and precedent of Moodle cause this issue.
    It is recommended that errors and exceptions that occurred in the Moodle plugin be displayed on the screen using the print_error() function.
    This function terminates PHP process after printing the messages about errors and exceptions.
    But, most plugins use the print_error function to display the messages about errors and exceptions.

    On the other hand, when the administrator of Moodle site clicks "Site administration" menu, the Moodle executes setting scripts of all plugins.
    If the Kaltura server is down, setting scripts of our plugins call print_error() function.
    Then, the "Site administration" menu is not displayed since the PHP process is terminated after calling this function.

    Such a mechanism is inconvenient for the administrator of Moodle site.
    However, according to the Moodle's specifications and precedent, the behavior of our plugins is correct.

    Best regards.
  • Picture of wz z
    Tue, 26 Dec 2017, 10:26 AM
    @Tomoya Saito
    I see.
    A feature request: do you think it possible to implement the feature of recording videos from webcam and desktop using Chrome WebRTC? Here is a demo: If so, we needn't afford the commercial desktop recorder software like CaptureSpace anymore.
  • Picture of Tomoya Saito
    Wed, 27 Dec 2017, 12:44 AM
    @wz z
    We appreciate your suggestion.
    Although our plugins already have a recording function from webcam, they don't have a desktop recording function yet.
    It may be possible to implement such a function in our plugins.
    However, such a function will not be implemented for a while, since other web browsers don't support the function.
    After more web browsers support the desktop recording function and API specifications are unified, we will implement the function.
    By the way, we think that it is easier for users to upload video files from PCs after recording the videos by using a screen capture software.

    Best regards.
  • Picture of wz z
    Fri, 12 Jan 2018, 11:06 AM
    @Tomoya Saito
    Thank you for your explanation.
    Today, I finnaly get my Kaltura CE working with SSL. But if I open /local/yumymedia/simple_uploader.php, I get an error tip:
    Unable to start new kaltura session for media uploading.
    Please contact your site administrator.
    (Cannot set root category of content.)
    I guess I have manually create a category in KMC, so I create the "Moodle" category in /index.php/kmc/kmc4#content|categories.
    I'm a novice of Kaltura. Could you tell me how to solve this problem? Thank you!
  • Picture of Tomoya Saito
    Fri, 12 Jan 2018, 11:44 AM
    @wz z
    Thank you for your report.
    This error occurs if there is no exists root category of content.
    Please create "Moodle" category in /index.php/kmc/kmc4#content|categories.
    Usually, the root category (Moodle) is created when administrator of the Moodle site saves settings of local plugin (YU Kaltura Local Libraries) .
    When user uploads a content to Kaltura server via the Moodle, category "Moodle>username" will be created automatically.

  • Picture of wz z
    Sun, 14 Jan 2018, 3:14 PM
    @Tomoya Saito
    Today, I found the problem disappeared. Maybe the root category had been created in the cron task. Thank you!
  • Picture of Tomoya Saito
    Sun, 20 May 2018, 3:07 AM
    Dear users,

    In recently versions of our plugins, administrators can access "Site administration" menu even when the Kaltura server is down.

    In the latest version of our plugins (version 1.1.6) , activity modules ("YU Kaltura Media Assignment" and "YU Kaltura Media Resource") support "Coourse reset" functions of the Moodle.
    And, in the "YU Kaltura Media Resource" (mod_kalmediares), teachers can publish students' access log.
    If teacher enable this property, each student can see own number of "media playing" and "page viewing".

    Additionally, we have added new section about the use of "YU Kaltura Media Resource" to user's guide.
    We hope that the user's guide is helpful for you.

  • Picture of Tomoya Saito
    Tue, 22 May 2018, 8:19 PM
    Dear users,

    Under the environment using the "Boost" theme, "My Media" (local_yumymedia) could not display media list correctly.
    And, link to the "My media" did not display.

    In latest version (version 1.1.7) of our plugins support the "Boost" theme.
    We modified the style sheets for "My Media" in local_yumymedia and "Media Selector" in mod_kalmediares.
    And, link to the "My media" is displayed in the "Navigation" menu (left-side menu) in the "Boost" theme.

  • You either love it or you hate it
    Mon, 16 Jul 2018, 5:54 PM
    How do you uninstall this plugin, as I need to reinstall it? Thanks
  • Picture of Tomoya Saito
    Mon, 16 Jul 2018, 6:33 PM
    Our plugins can work with the Kaltura Community Edition, and they don't require the KAF (Kaltura Application Framework).
    Do you use an administrator's account of the Kaltura system for the "YU Kaltura Media Local Libraries"?

    At first, you should use a publisher's account of the Kaltura system in order to link the Moodle and the Kaltura.

    Secondary, you log-in to the your Moodle as an administrator, and visit "Site administration", "Plugins", "Local plugins", and "YU Katlura Media Local Libraries" on your Moodle.
    Then, you should set the following items on the configuration page of the "YU Kaltura Media Local Libraries".

    Connection server: Kaltura CE
    Hosted account login: e-mail address of the publisher's account
    Hosted account password: password of the publisher's account used to log-in to the KMC.
    Server URI: URI of the Kaltura server, for example, "".

  • You either love it or you hate it
    Mon, 16 Jul 2018, 6:44 PM
    @Tomoya, yes we have done this, its when we save the settings that we get an error

    local_yukaltura/test connection(Invalid KS [djJ8MTEwfH8P8SedQvq3dN6m1PB7P38Zv8q20urGFRpRSjtwjwe13BW4hbvGCr3QVlJo3R_lHRSabDShoDfPgSzYpgcWPYs=]. Error [-1,INVALID_STR])

    After which we cannot get to the settings page at all.

    We use our own Kaltura server and do have the login details. The problem hears is that once we get the error on trying to save the settings we cannot get back to the settings page. I think we need to uninstall and reinstall. How do we do that? Thanks very much
  • Picture of Tomoya Saito
    Mon, 16 Jul 2018, 6:59 PM
    @Albert Ramsbottom

    If you cannot get the "Site administration" page, you cannot uninstall these plugins.
    But, if you remove their directories from your Moodle server, you may able to see the "Site administration" page on your Moodle.

    By the way, your Moodle use original "Kaltura Video Package"?
    Probably, our plugins and the "Kaltura Video Package" can not coexist.
    And, our plugins cannot work with the Moodle 1.9.

  • You either love it or you hate it
    Mon, 16 Jul 2018, 7:19 PM
    I can get to the site administration but the YU Kaltura Media Local Libraries doesnt have an uninstall? Its the settings of the YU Kaltura Media Local Libraries plugin I cant get to

    So how do I uninstall? Many Thanks
  • Picture of Tomoya Saito
    Mon, 16 Jul 2018, 7:49 PM
    @Albert Ramsbottom

    In order to uninstall the plugin, you visit "Site administration" > "Plugins" > "Plugins overview" on your Moodle.
    Then, you restore the plugin's directory and reload the "Plugins overview" page, if you use the Moodle 3.x.
    And, you set the ownership of plugin's directory and files according to your httpd server's user.
    Therefore, you may able to see the "uninstall" menu on the our plugin's row.

  • Picture of Tomoya Saito
    Thu, 23 Aug 2018, 4:16 PM
    Dear users,

    We appreciate your interest and help.

    Recently versions of our plugins have some issues about sorting of user's media in "My Meida", and initial configuration for "Internal Access".
    So that, we have released revised versions (YU Kaltura Media Local Libraries 1.1.8R2, and YU Kaltura Media Gallery 1.1.8R3).

    And, the "YU Kaltura Media Gallery" can create embed-codes to enable users embed Kaltura video in other web sites.
    However, embed-codes created by old plugins does not support latest version of the Google Chrome.
    Latest version of the plugin can create revised embed-codes.

    Best regards.
1 2 3

Commenting temporarily disabled