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"
21 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 wz z
    Fri, Jan 12, 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, Jan 12, 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, Jan 14, 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, May 20, 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, May 22, 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, Jul 16, 2018, 5:54 PM
    How do you uninstall this plugin, as I need to reinstall it? Thanks
  • Picture of Tomoya Saito
    Mon, Jul 16, 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, Jul 16, 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, Jul 16, 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, Jul 16, 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, Jul 16, 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, Aug 23, 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.
  • Picture of Tomoya Saito
    Mon, Jan 7, 2019, 2:20 PM
    Dear users,

    We have released new version of plugins (version 1.2.1).
    In previous versions, "Invalid KS" errors occur in some server environments.
    In such environments, administrators cannot install our plugins.
    So that, we have fixed a program to connect the Kaltura server and the Moodle server.
    By this change, our plugins will work in more server environments.

    In version 1.2.0 and later, teachers (students) can upload/record new media when they embed (submit) the media in resource (activity) module.
    Therefore, we have created new setting items in setting page of local plugin (local_yukaltura).
    By using these items, administrators can permit users to upload/record media in resource (mod_kalmediares) and activity (mod_kalmediaassign) modules.
    However, these new forms are not be displayed correctly on low resolution screens, so new uploading/recording functions may not work well with smartphones.
    As in previous versions, users can also upload/record the media using the "My Media" (local_yumymedia).

    By changes of specifications of WebRTC APIs in the Mozilla Firefox, our webcam recorder was not able to work with the Firefox 62.0.0 and later versions.
    This issue has been fixed in version 1.2.0 and later.

    we hope that our plugins will be helpful for something.

  • Picture of Tomoya Saito
    Wed, Feb 6, 2019, 9:36 PM
    Dear users,

    We released the YU Kaltura Media Local Libraries (local_yukaltura) version 1.2.1R2.
    In order to connect safely to the Kaltura SaaS Edition or the recently versions of the Kaltura CE, we fixed some statements (about partner ID) in locallib.php.

  • Picture of Tomoya Saito
    Thu, Feb 21, 2019, 1:50 AM
    Dear users,

    The YU Kaltura Media Package version 1.2.2 has been released.

    (1) YU Kaltura Media Local Libraries (local_yukaltura)

    The problem of loading unnecessary JavaScript code has been resolved.
    So, the server load when loading the player widget will be reduced.

    (2) YU Kaltura Media Gallery (local_yumymedia)

    In order to support the Kaltura SaaS Edition, some statements in delete_media.php are modified.

    (3) YU Kaltura Media Assignment (mod_kalmediaassign)

    The problem that module introductions are not displayed on the course page has been resolved.

    (4) YU Kaltura Media Resource (mod_kalmediares)

    The problem of loading unnecessary JavaScript code has been resolved.
    So, the server load when loading the player widget will be reduced.
    The problem that module introductions are not displayed on the course page has been resolved.

    Best regards
1 2 3
Please login to post comments