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"
17 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.6 or greater.
  • Web browsers must support the JavaScript and HTML5.

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.
Now, we wrote sections about installation, initial configuration (local_yukaltura) and summary of "My Media" (local_yumymedia), summary of "YU Kaltura Media Resource" (mod_kalmediares).
Rest sections will be written soon...

Targeted Moodle versions

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


  • 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

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.


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
    Wed, 29 Nov 2017, 6:33 PM
    @wz z
    This message means that client PC cannot connect to your Kaltura server.
    When an upload form is displayed, your Moodle server connect to your Kaltura server and create session key string.
    Then, uploading media data is transmitted from the client PC to your Kaltura server directly.
    So that, there may exist an issue around configurations of networks or HTTP server.
  • Picture of wz z
    Thu, 30 Nov 2017, 9:10 AM
    @Tomoya Saito
    From my PC, I can ping and telnet 80 port of my Kaltura CE server. So, I don't know why.
  • Picture of Tomoya Saito
    Thu, 30 Nov 2017, 11:02 AM
    @wz z
    When your Moodle server and web browser connect to your Kaltura server, they connect to the HTTP port (80)?
    Also, the Moodle server and web browser communicate by using HTTP port (80)?
    According to the specification of Kaltura system, you should use same protocol on all communication route.
    And, it is better to use HTTPS (443) as the communication protocol.

  • Picture of wz z
    Fri, 1 Dec 2017, 8:21 AM
    @Tomoya Saito
    No wonder. My Moodle uses HTTPS, but Kaltura uses HTTP. Thanks. I will try later.
  • Picture of wz z
    Mon, 4 Dec 2017, 3:55 PM
    @Tomoya Saito
    But is it possible separately connect to Kaltura CE Server with a different port from Moodle?
  • Picture of Tomoya Saito
    Mon, 4 Dec 2017, 5:14 PM
    @wz z
    Probably, it is impossible.
    Kaltura server's APIs create JavaScript codes directly, when each task is processed.
    The JavaScript codes contain "service URL" which is set in server configuration.
    Sot that, it is difficult that the Kaltura server uses HTTP and HTTPS ports at the same time.
    Moreover, for some applications (the Moodle, etc.) , all the connections must use same protocol.

  • Picture of wz z
    Mon, 11 Dec 2017, 10:34 AM
    @Tomoya Saito
    Thank you! After adding SSL to my KALTURA CE, then uploading media works.
    But there is a very serious problem of this plugin. When the Kaltura CE server is down, the Site administration of Moodle can not be accessed. There should be an exception-catching method rather than just impairing Moodle's working.
  • 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.

1 2
Please login to post comments