General plugins (Local): YU Kaltura Media Local Libraries

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

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.

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

Requirements

  • PHP5.6 or greater.
  • Web browsers must support the JavaScript and HTML5.


Installation

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 and summary of "My Media".
Rest sections will be written soon...

Targeted Moodle versions

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

Branches

  • 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


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

Warning

  • 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 and Opera. For smartphones and tablets, you can record  and upload movies through a normal media uploader.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

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
    Thu, 23 Nov 2017, 2:49 PM
    @wz z
    This error means that "time out error" occurred while getting an access control list from your Kaltura server.
    Can you upload and preview your media through "My Media"?
    And, there exists "Default" access control in your Kaltura server?
  • Picture of wz z
    Sat, 25 Nov 2017, 2:07 PM
    @Tomoya Saito
    In Kaltura CE KMC, there are Partner ID, Sub Partner ID, Administrator Secret and User Secret Under the "integrating settings" tab, and there are also User Name, User ID, Email Address under the "My user settings" tab.
    Which one should I choose to set this plugin in Moodle?
    Thank you!
  • Picture of Tomoya Saito
    Sat, 25 Nov 2017, 5:43 PM
    @wz sz
    This plugin uses same information the Kaltura publisher uses to log-in to the KMC.
    In the plugin's setting page, "Hosted account login" and "Hosted account password" respectively mean the e-mail address and password which are used to log-in to the KMC.
    If this plugin successfully connects to Kaltura server, all the players in Kaltura server be enumerated in "Kaltura player" and "Kaltura resource player".
    Regards.
  • Picture of Tomoya Saito
    Tue, 28 Nov 2017, 11:55 AM
    Dear users,

    In the latest version of our plugins (version 1.1.0) , we have added non-Flash webcam recording function.
    In the "My Media", each user can record a movie by using PC's web-camera, and can upload the movie to your Kaltura server.
    This function uses the JavaScript and WebRTC API.
    Now, the Mozilla Firefox, Google Chrome, Opera and Safari support this function.
    The Internet Explorer don't support the WebRTC API.
    Although the Microsoft Edge supports the WebRTC functions, it has a different API from other browsers.
    So that, the Internet Explorer and Microsoft Edge cannot execute our webcam recording function.

    Regards
  • Picture of wz z
    Tue, 28 Nov 2017, 6:37 PM
    @Tomoya Saito
    Thank you for telling me the right username! Now it works. But I found nowhere to access the "My media", what's the exact path?
  • Picture of Tomoya Saito
    Tue, 28 Nov 2017, 7:18 PM
    @wz z
    Link to the "My Media" is displayed in the "Navigation" block in the Moodle.
    And, the "My Media" is displayed as a sub-node of "Dashboard".
    In the recently version of Moodle, default theme is "Boost, and this theme don't display the "Navigation" block in the "Site home" page.
    So that, the administrator of Moodle must choose other theme for default, or each user must add the "Navigation" block to "Dashboard" page.

    Thanks
  • Picture of wz z
    Wed, 29 Nov 2017, 8:35 AM
    @Tomoya Saito
    Thanks again! Now When I upload a recorded video with webcam or a local mp4 file on the "My media" page, it shows error as below:
    Uploading
    Uploading a media file ...
    Progress: %

    Cannot upload the file !
    (Cannot connect to contents server.)
  • 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.

    Regards
  • 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.

    Regards
  • 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.
1 2
Please login to post comments