diff --git a/blocks/kalturamediagallery/version.php b/blocks/kalturamediagallery/version.php
index 6a70f607..a014b417 100644
--- a/blocks/kalturamediagallery/version.php
+++ b/blocks/kalturamediagallery/version.php
@@ -14,11 +14,11 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2022112803;
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->version = 2023100902;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->component = 'block_kalturamediagallery';
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803,
- 'local_kalturamediagallery' => 2022112803
+ 'local_kaltura' => 2023100902,
+ 'local_kalturamediagallery' => 2023100902
);
diff --git a/filter/kaltura/version.php b/filter/kaltura/version.php
index 481118bc..05964c05 100644
--- a/filter/kaltura/version.php
+++ b/filter/kaltura/version.php
@@ -24,11 +24,11 @@
*/
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2022112803; //version date YYYYMMDDXX 10 represent 3.0 for future option to moodle use 2 digit version
+$plugin->version = 2023100902; //version date YYYYMMDDXX 10 represent 3.0 for future option to moodle use 2 digit version
$plugin->component = 'filter_kaltura';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/lib/editor/atto/plugins/kalturamedia/version.php b/lib/editor/atto/plugins/kalturamedia/version.php
index ff64506d..e9faa141 100644
--- a/lib/editor/atto/plugins/kalturamedia/version.php
+++ b/lib/editor/atto/plugins/kalturamedia/version.php
@@ -24,10 +24,10 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2022112803; // The current plugin version (Date: YYYYMMDDXX).
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800; // Requires this Moodle version.
+$plugin->version = 2023100902; // The current plugin version (Date: YYYYMMDDXX).
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900; // Requires this Moodle version.
$plugin->component = 'atto_kalturamedia'; // Full name of the plugin (used for diagnostics).
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/lib/editor/tiny/plugins/kalturamedia/version.php b/lib/editor/tiny/plugins/kalturamedia/version.php
index a3af33f2..f91042c7 100644
--- a/lib/editor/tiny/plugins/kalturamedia/version.php
+++ b/lib/editor/tiny/plugins/kalturamedia/version.php
@@ -24,10 +24,10 @@
defined('MOODLE_INTERNAL') || die();
-$plugin->version = 2022112803;
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->version = 2023100902;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->component = 'tiny_kalturamedia';
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/lib/editor/tinymce/plugins/kalturamedia/classes/privacy/provider.php b/lib/editor/tinymce/plugins/kalturamedia/classes/privacy/provider.php
deleted file mode 100644
index cc5b451c..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/classes/privacy/provider.php
+++ /dev/null
@@ -1,20 +0,0 @@
-.
-
-/**
- * Kaltura media language file.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-$string['pluginname'] = 'Kaltura media';
-/* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */
-$string['kalturamedia:desc'] = 'Embed Kaltura Media';
-$string['kalturamedia:insertbtn'] = 'Insert media';
-$string['kalturamedia:cancelbtn'] = 'Cancel';
-$string['kalturamedia:bse'] = 'Browse and Embed';
-$string['privacy:metadata'] = 'The TinyMCE Kaltura Media plugin does not store any personal data.';
diff --git a/lib/editor/tinymce/plugins/kalturamedia/lib.php b/lib/editor/tinymce/plugins/kalturamedia/lib.php
deleted file mode 100644
index 16d414b0..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/lib.php
+++ /dev/null
@@ -1,69 +0,0 @@
-.
-
-/**
- * Kaltura media library file.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-if (!defined('MOODLE_INTERNAL')) {
- die('Direct access to this script is forbidden.');
-}
-
-require_once(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))).'/local/kaltura/locallib.php');
-
-class tinymce_kalturamedia extends editor_tinymce_plugin {
- /** @var array list of buttons defined by this plugin */
- protected $buttons = array('kalturamedia');
-
- /**
- * Adjusts TinyMCE init parameters for this plugin.
- *
- * Subclasses must implement this function in order to carry out changes
- * to the TinyMCE settings.
- *
- * @param array $params TinyMCE init parameters array
- * @param context $context Context where editor is being shown
- * @param array $options Options for this editor
- */
- protected function update_init_params(array &$params, context $context, array $options = null) {
- $params['lti_launch_context_id'] = $context->id;
-
- // Add button after 'unlink' in Moodlemedia
- if ($row = $this->find_button($params, 'moodleemoticon')) {
- $this->add_button_after($params, $row, 'kalturamedia', 'moodlemedia', true);
- } else {
- $this->add_button_after($params, 1, 'kalturamedia');
- }
-
- // Add JS file, which uses default name.
- $this->add_js_plugin($params);
- }
-
- /**
- * Gets the order in which to run this plugin. Order usually only matters if
- * (a) the place you add your button might depend on another plugin, or
- * (b) you want to make some changes to layout etc. that should happen last.
- * The default order is 100; within that, plugins are sorted alphabetically.
- * Return a lower number if you want this plugin to run earlier, or a higher
- * number if you want it to run later.
- */
- protected function get_sort_order() {
- return 111;
- }
-}
\ No newline at end of file
diff --git a/lib/editor/tinymce/plugins/kalturamedia/lti_launch.php b/lib/editor/tinymce/plugins/kalturamedia/lti_launch.php
deleted file mode 100644
index 1c4ea263..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/lti_launch.php
+++ /dev/null
@@ -1,77 +0,0 @@
-.
-
-/**
- * Kaltura media LTI launch page.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-require_once(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))).'/config.php');
-require_once(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__)))))).'/local/kaltura/locallib.php');
-
-global $USER;
-
-require_login();
-
-$contextid = required_param('contextid', PARAM_INT);
-$height = required_param('height', PARAM_INT);
-$width = required_param('width', PARAM_INT);
-$withblocks = optional_param('withblocks', 0, PARAM_INT);
-
-$context = context::instance_by_id($contextid);
-
-$launch = array();
-$course = 0;
-
-if ($context instanceof context_course) {
- $course = get_course($context->instanceid);
-
-} else if ($context instanceof context_system || $context instanceof context_coursecat) {
- $course = get_course(1);
-} else {
- // Find parent context
- $parentcontexts = $context->get_parent_contexts(false);
-
- foreach ($parentcontexts as $ctx) {
- if ($ctx instanceof context_course) {
- $course = get_course($ctx->instanceid);
- break;
- } else if ($ctx instanceof context_system || $ctx instanceof context_coursecat) {
- $course = get_course(1);
- break;
- }
- }
-}
-
-$launch['id'] = 1;
-$launch['cmid'] = 0;
-$launch['title'] = 'Kaltura media';
-$launch['module'] = KAF_BROWSE_EMBED_MODULE;
-$launch['course'] = $course;
-$launch['width'] = $width;
-$launch['height'] = $height;
-$launch['custom_publishdata'] = '';
-
-if (local_kaltura_validate_browseembed_required_params($launch)) {
- $content = local_kaltura_request_lti_launch($launch, $withblocks);
- echo $content;
-} else {
- echo get_string('invalid_launch_parameters', 'mod_kalvidres');
-}
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/css/kalturaltipopup.css b/lib/editor/tinymce/plugins/kalturamedia/tinymce/css/kalturaltipopup.css
deleted file mode 100644
index fb194600..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/css/kalturaltipopup.css
+++ /dev/null
@@ -1,16 +0,0 @@
-body#page-editor-tinymce-plugins-kalturamedia-tinymce-ltilaunch {
- margin: 0;
- padding: 0;
- background-color: 0
-}
-
-body > div#page {
- padding: 0;
-}
-header#page-header {
- display: none;
-}
-
-body > header {
- display: none;
-}
\ No newline at end of file
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/editor_plugin.js b/lib/editor/tinymce/plugins/kalturamedia/tinymce/editor_plugin.js
deleted file mode 100644
index ecc4001c..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/editor_plugin.js
+++ /dev/null
@@ -1,90 +0,0 @@
-// Moodle is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Moodle is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Moodle. If not, see .
-
-/**
- * Kaltura media javascript file.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-(function() {
- tinymce.create('tinymce.plugins.kalturamediaPlugin', {
- /**
- * Initializes the plugin, this will be executed after the plugin has been created.
- * This call is done before the editor instance has finished it's initialization so use the onInit event
- * of the editor instance to intercept that event.
- *
- * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
- * @param {string} url Absolute URL to where the plugin is located.
- */
-
- panel: null,
-
- init : function(ed, url) {
- lang = tinyMCE.activeEditor.getParam('language');
- var ltiUrl = ed.getParam("moodle_plugin_base")+'kalturamedia/tinymce/ltibrowse.php?lang=' + lang;
-
- // Register the command to open a popup window
- ed.addCommand('mcekalturamedia', function() {
-
- var w = 1200;
- var h = 700;
- var dualScreenLeft = window.screenLeft != undefined ? window.screenLeft : screen.left;
- var dualScreenTop = window.screenTop != undefined ? window.screenTop : screen.top;
-
- var width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth ? document.documentElement.clientWidth : screen.width;
- var height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight ? document.documentElement.clientHeight : screen.height;
-
- var left = ((width / 2) - (w / 2)) + dualScreenLeft;
- var top = ((height / 2) - (h / 2)) + dualScreenTop;
- var newWindow = window.open(ltiUrl, tinyMCE.activeEditor.getLang('kalturamedia.bse', "Browse and Embed"), 'scrollbars=no, width=' + w + ', height=' + h + ', top=' + top + ', left=' + left);
-
- if (window.focus) {
- newWindow.focus();
- }
-
- ed.newWindow = newWindow;
-
- });
-
- // Register kalturaMedia button
- ed.addButton('kalturamedia', {
- title : 'kalturamedia.desc',
- cmd : 'mcekalturamedia',
- image : url+'/pix/icon.png'
- });
- },
-
- /**
- * Returns information about the plugin as a name/value array.
- * The current keys are longname, author, authorurl, infourl and version.
- *
- * @return {Object} Name/value array containing information about the plugin.
- */
- getInfo : function() {
- return {
- longname : 'Kaltura media plugin',
- author : 'Remote-Learner.net Inc',
- authorurl : 'http://remote-learner.net',
- infourl : 'http://docs.moodle.org/en/TinyMCE',
- version : "1.0"
- };
- }
- });
-
- // Register plugin.
- tinymce.PluginManager.add('kalturamedia', tinymce.plugins.kalturamediaPlugin);
-})();
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js b/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js
deleted file mode 100644
index 7a9789d0..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js
+++ /dev/null
@@ -1,63 +0,0 @@
-// Moodle is free software: you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
-// the Free Software Foundation, either version 3 of the License, or
-// (at your option) any later version.
-//
-// Moodle is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with Moodle. If not, see .
-
-/**
- * Kaltura media ltippopup javascript file. This code is based off of the word done for the Moodle media plug-in.
- * @see editor/tinymce/plugins/moodlemedia.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-var ed, url;
-
-if (url = tinyMCEPopup.getParam("media_external_list_url")) {
- document.write('');
-}
-
-/**
- * Initialization function to set a global to the current tinyMCE popup editor instance; and to set the editor context hidden element.
- */
-function init() {
- ed = tinyMCEPopup.editor;
- var contextid = ed.getParam('lti_launch_context_id');
- document.getElementById('lti_launch_context_id').value = contextid;
-}
-
-/**
- * Insert the selected media into the editor.
- */
-function insertMedia() {
- var form = document.forms[0];
- var kafuri = form.kafuri.value;
- var sourceUrl = form.source.value;
-
- var url = removeProtocolFromUrl(kafuri);
- sourceUrl = removeProtocolFromUrl(sourceUrl);
- url = sourceUrl.replace(kafuri, url);
- var parser = document.createElement('a');
- parser.href = form.source.value;
- url += parser.search;
-
- var content = 'tinymce-kalturamedia-embed||'+form.video_title.value+'||'+form.width.value+'||'+form.height.value+'';
- ed.execCommand('mceInsertContent', false, content);
- ed.newWindow.close();
-}
-
-function removeProtocolFromUrl(fullUrl) {
- return fullUrl.replace(/^https?:\/\//,'');
-}
-
-tinyMCEPopup.onInit.add(init);
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/ltibrowse.php b/lib/editor/tinymce/plugins/kalturamedia/tinymce/ltibrowse.php
deleted file mode 100644
index e21dd8f9..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/ltibrowse.php
+++ /dev/null
@@ -1,69 +0,0 @@
-.
-
-/**
- * Kaltura media LTI launch page.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-require_once(dirname(dirname(dirname(dirname(dirname(dirname(dirname(__FILE__))))))).'/config.php');
-require_once($CFG->dirroot.'/local/kaltura/locallib.php');
-require_once('renderer.php');
-
-global $PAGE;
-
-require_login();
-
-$PAGE->set_pagelayout('popup');
-$PAGE->set_url('/editor/tinymce/plugins/kalturamedia/tinymce/ltilaunch.php');
-$PAGE->set_context(context_system::instance());
-$PAGE->requires->css('/lib/editor/tinymce/plugins/kalturamedia/tinymce/css/kalturaltipopup.css');
-
-echo $OUTPUT->header();
-
-$editor = get_texteditor('tinymce');
-$tinymcebaseurl = $editor->get_tinymce_base_url();
-
-echo html_writer::script('', $tinymcebaseurl.'tiny_mce_popup.js');
-echo html_writer::script('', $tinymcebaseurl.'utils/validate.js');
-echo html_writer::script('', $tinymcebaseurl.'utils/form_utils.js');
-echo html_writer::script('', $tinymcebaseurl.'utils/editable_selects.js');
-echo html_writer::script('', 'js/ltipopuplib.js');
-
-echo tinymce_kalturamedia_preview_embed_form();
-
-$urlparams = array(
- 'withblocks' => 0,
- 'width' => KALTURA_PANEL_WIDTH,
- 'height' => KALTURA_PANEL_HEIGHT
-);
-
-$url = new moodle_url('/lib/editor/tinymce/plugins/kalturamedia/lti_launch.php', $urlparams);
-
-$params = array(
- 'ltilaunchurl' => $url->out(),
- 'objecttagheight' => TINMCE_KALTURAMEDIA_OBJECT_TAG_HEIGHT,
- 'objecttagid' => TINMCE_KALTURAMEDIA_OBJECT_TAG_ID,
- 'previewiframeid' => TINMCE_KALTURAMEDIA_PREVIEW_IFRAME_TAG_ID
-);
-
-$PAGE->requires->yui_module('moodle-local_kaltura-ltitinymcepanel', 'M.local_kaltura.init', array($params), null, true);
-
-echo $OUTPUT->footer();
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/pix/icon.png b/lib/editor/tinymce/plugins/kalturamedia/tinymce/pix/icon.png
deleted file mode 100644
index 8d596139..00000000
Binary files a/lib/editor/tinymce/plugins/kalturamedia/tinymce/pix/icon.png and /dev/null differ
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/renderer.php b/lib/editor/tinymce/plugins/kalturamedia/tinymce/renderer.php
deleted file mode 100644
index 5fc2bf22..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/renderer.php
+++ /dev/null
@@ -1,69 +0,0 @@
-.
-
-/**
- * LTI preview and selection renderer library.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-define('TINMCE_KALTURAMEDIA_OBJECT_TAG_ID', 'objecttagcontainer');
-define('TINMCE_KALTURAMEDIA_PREVIEW_IFRAME_TAG_ID', 'video_preview_frame');
-define('TINMCE_KALTURAMEDIA_OBJECT_TAG_HEIGHT', '500');
-
-/**
- * Returns HTML markup for a form used to preview and insert the video markup into the page.
- * @return string HTML markup.
- */
-function tinymce_kalturamedia_preview_embed_form() {
- // Create hidden elements.
- $hiddenelements = html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'entry_id', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'source', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'kafuri', 'value' => local_kaltura_get_config()->kaf_uri));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'video_title', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'uiconf_id', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'widescreen', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'height', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'width', 'value' => ''));
- $hiddenelements .= html_writer::empty_tag('input', array('type' => 'hidden', 'id' => 'lti_launch_context_id', 'value' => ''));
-
- // Create LTI launch and preview container divs
- $ltilaunchcontainer = html_writer::tag('div', '', array('id' => TINMCE_KALTURAMEDIA_OBJECT_TAG_ID));
- $previewcontainer = html_writer::tag('div', '', array('id' => TINMCE_KALTURAMEDIA_PREVIEW_IFRAME_TAG_ID));
-
- // Create cancel button.
- $param = array(
- 'type' => 'submit',
- 'id' => 'cancel',
- 'name' => 'cancel',
- // Using the language string from the local plug-in. TODO: figure out how to access the TinyMCE language strings.
- 'value' => get_string('cancelbtn', 'local_kaltura'),
- 'onclick' => 'ed.newWindow.close();'
- );
- $cancelbutton = html_writer::empty_tag('input', $param);
- $cancelbuttondiv = html_writer::tag('div', $cancelbutton, array('style' => 'float: right'));
-
- $buttonscontainer = html_writer::tag('div', $cancelbuttondiv, array('class' => 'mceActionPanel'));
-
- // This element is used so that the ltiservice.js can simulate a 'click' event. This tells the plug-in that the user has choosen a video to embed on the page
- // and it will enable the insert button.
- $simulateclickdiv = html_writer::tag('input', '', array('id' => 'closeltipanel', 'type' => 'hidden', 'value' => ''));
-
- $content = $simulateclickdiv.$ltilaunchcontainer.$previewcontainer.$hiddenelements.$buttonscontainer;
- return html_writer::tag('form', $content, array('onsubmit' => 'insertMedia();return false', 'action' => '#'));
-}
diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce_kalturamedia.php b/lib/editor/tinymce/plugins/kalturamedia/tinymce_kalturamedia.php
deleted file mode 100644
index 8c54889d..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/tinymce_kalturamedia.php
+++ /dev/null
@@ -1,28 +0,0 @@
-.
-
-/**
- * Kaltura media language file.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-$string['pluginname'] = 'Kaltura media';
-/* All lang strings used from TinyMCE JavaScript code must be named 'pluginname:stringname', no need to create langs/en_dlg.js */
-$string['kalturamedia:desc'] = 'Embed Kaltura Media';
-$string['insertbtn'] = 'Insert media';
-$string['cancelbtn'] = 'Cancel';
diff --git a/lib/editor/tinymce/plugins/kalturamedia/version.php b/lib/editor/tinymce/plugins/kalturamedia/version.php
deleted file mode 100644
index 27ba6bae..00000000
--- a/lib/editor/tinymce/plugins/kalturamedia/version.php
+++ /dev/null
@@ -1,34 +0,0 @@
-.
-
-/**
- * Kaltura media version file.
- *
- * @package tinymce_kalturamedia
- * @author Remote-Learner.net Inc
- * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
- * @copyright (C) 2014 Remote Learner.net Inc http://www.remote-learner.net
- */
-
-defined('MOODLE_INTERNAL') || die();
-
-$plugin->version = 2022112803;
-$plugin->release = 'Kaltura release 4.4.6';
-// Required Moodle version.
-$plugin->requires = 2022112800;
-// Full name of the plugin (used for diagnostics).
-$plugin->component = 'tinymce_kalturamedia';
-$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
-);
diff --git a/local/kaltura/pix/quiz.png b/local/kaltura/pix/quiz.png
new file mode 100644
index 00000000..d10ae937
Binary files /dev/null and b/local/kaltura/pix/quiz.png differ
diff --git a/local/kaltura/pix/quiz.svg b/local/kaltura/pix/quiz.svg
new file mode 100644
index 00000000..f977e0af
--- /dev/null
+++ b/local/kaltura/pix/quiz.svg
@@ -0,0 +1,3 @@
+
diff --git a/local/kaltura/version.php b/local/kaltura/version.php
index e8249234..d076e2a5 100644
--- a/local/kaltura/version.php
+++ b/local/kaltura/version.php
@@ -25,10 +25,10 @@
die('Direct access to this script is forbidden.');
}
-$plugin->version = 2022112803;
+$plugin->version = 2023100902;
$plugin->component = 'local_kaltura';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->maturity = MATURITY_STABLE;
try {
diff --git a/local/kalturamediagallery/version.php b/local/kalturamediagallery/version.php
index db153e3b..9757ef67 100644
--- a/local/kalturamediagallery/version.php
+++ b/local/kalturamediagallery/version.php
@@ -26,11 +26,11 @@
die('Direct access to this script is forbidden.');
}
-$plugin->version = 2022112803;
+$plugin->version = 2023100902;
$plugin->component = 'local_kalturamediagallery';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/local/mymedia/version.php b/local/mymedia/version.php
index 59ad4f2a..d2207afa 100644
--- a/local/mymedia/version.php
+++ b/local/mymedia/version.php
@@ -25,11 +25,11 @@
die('Direct access to this script is forbidden.');
}
-$plugin->version = 2022112803;
+$plugin->version = 2023100902;
$plugin->component = 'local_mymedia';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/mod/kalvidassign/lib.php b/mod/kalvidassign/lib.php
index f8d999c7..8d2e7216 100644
--- a/mod/kalvidassign/lib.php
+++ b/mod/kalvidassign/lib.php
@@ -268,6 +268,11 @@ function kalvidassign_supports($feature) {
break;
case FEATURE_BACKUP_MOODLE2:
return true;
+ case FEATURE_MOD_PURPOSE:
+ return MOD_PURPOSE_ASSESSMENT;
+ break;
+ case FEATURE_MOD_PURPOSE:
+ return MOD_PURPOSE_ASSESSMENT;
break;
default:
return null;
diff --git a/mod/kalvidassign/pix/icon.gif b/mod/kalvidassign/pix/icon.gif
deleted file mode 100644
index c90fa097..00000000
Binary files a/mod/kalvidassign/pix/icon.gif and /dev/null differ
diff --git a/mod/kalvidassign/pix/icon.png b/mod/kalvidassign/pix/icon.png
index a8e0cfb2..1465b4ba 100644
Binary files a/mod/kalvidassign/pix/icon.png and b/mod/kalvidassign/pix/icon.png differ
diff --git a/mod/kalvidassign/pix/icon.svg b/mod/kalvidassign/pix/icon.svg
index 0d00ae79..16945176 100644
--- a/mod/kalvidassign/pix/icon.svg
+++ b/mod/kalvidassign/pix/icon.svg
@@ -1 +1,3 @@
-
\ No newline at end of file
+
diff --git a/mod/kalvidassign/pix/monologo.svg b/mod/kalvidassign/pix/monologo.svg
new file mode 100644
index 00000000..cb3e6ecf
--- /dev/null
+++ b/mod/kalvidassign/pix/monologo.svg
@@ -0,0 +1,16 @@
+
+
+
diff --git a/mod/kalvidassign/version.php b/mod/kalvidassign/version.php
index ecffd67a..01f5ffbe 100644
--- a/mod/kalvidassign/version.php
+++ b/mod/kalvidassign/version.php
@@ -25,12 +25,12 @@
die('Direct access to this script is forbidden.');
}
-$plugin->version = 2022112803;
+$plugin->version = 2023100902;
$plugin->component = 'mod_kalvidassign';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->cron = 0;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803,
+ 'local_kaltura' => 2023100902,
);
diff --git a/mod/kalvidres/lib.php b/mod/kalvidres/lib.php
index 63cd3fc5..0f9ba853 100644
--- a/mod/kalvidres/lib.php
+++ b/mod/kalvidres/lib.php
@@ -177,6 +177,8 @@ function kalvidres_supports($feature) {
return true;
case FEATURE_SHOW_DESCRIPTION:
return true;
+ case FEATURE_MOD_PURPOSE:
+ return MOD_PURPOSE_CONTENT;
default:
return null;
}
diff --git a/mod/kalvidres/mod_form.php b/mod/kalvidres/mod_form.php
index feebc35f..7eb75cf9 100644
--- a/mod/kalvidres/mod_form.php
+++ b/mod/kalvidres/mod_form.php
@@ -38,10 +38,6 @@ class mod_kalvidres_mod_form extends moodleform_mod {
public function definition() {
global $CFG, $COURSE, $PAGE;
- $PAGE->requires->css('/mod/kalvidres/styles.css');
- $pageclass = 'kaltura-kalvidres-body';
- $PAGE->add_body_class($pageclass);
-
$params = array(
'withblocks' => 0,
'courseid' => $COURSE->id,
@@ -64,14 +60,6 @@ public function definition() {
$PAGE->requires->string_for_js('replace_video', 'kalvidres');
$PAGE->requires->string_for_js('browse_and_embed', 'local_kaltura');
- // Require a YUI module to make the object tag be as large as possible.
- $params = array(
- 'bodyclass' => $pageclass,
- 'lastheight' => null,
- 'padding' => 15
- );
- $PAGE->requires->yui_module('moodle-local_kaltura-lticontainer', 'M.local_kaltura.init', array($params), null, true);
-
$mform =& $this->_form;
// This line is needed to avoid a PHP warning when the form is submitted.
diff --git a/mod/kalvidres/pix/icon.gif b/mod/kalvidres/pix/icon.gif
deleted file mode 100644
index 308c8f3b..00000000
Binary files a/mod/kalvidres/pix/icon.gif and /dev/null differ
diff --git a/mod/kalvidres/pix/icon.png b/mod/kalvidres/pix/icon.png
index 0cf52aa5..e0e492aa 100644
Binary files a/mod/kalvidres/pix/icon.png and b/mod/kalvidres/pix/icon.png differ
diff --git a/mod/kalvidres/pix/icon.svg b/mod/kalvidres/pix/icon.svg
index 297362f8..ee2223a4 100644
--- a/mod/kalvidres/pix/icon.svg
+++ b/mod/kalvidres/pix/icon.svg
@@ -1 +1,3 @@
-
\ No newline at end of file
+
diff --git a/mod/kalvidres/pix/monologo.svg b/mod/kalvidres/pix/monologo.svg
new file mode 100644
index 00000000..a22595b2
--- /dev/null
+++ b/mod/kalvidres/pix/monologo.svg
@@ -0,0 +1,25 @@
+
+
diff --git a/mod/kalvidres/version.php b/mod/kalvidres/version.php
index 6e9f41f4..3d0dbf76 100644
--- a/mod/kalvidres/version.php
+++ b/mod/kalvidres/version.php
@@ -25,12 +25,12 @@
die('Direct access to this script is forbidden.');
}
-$plugin->version = 2022112803;
+$plugin->version = 2023100902;
$plugin->component = 'mod_kalvidres';
-$plugin->release = 'Kaltura release 4.4.6';
-$plugin->requires = 2022112800;
+$plugin->release = 'Kaltura release 4.4.9';
+$plugin->requires = 2023100900;
$plugin->cron = 0;
$plugin->maturity = MATURITY_STABLE;
$plugin->dependencies = array(
- 'local_kaltura' => 2022112803
+ 'local_kaltura' => 2023100902
);
diff --git a/mod/kalvidres/view.php b/mod/kalvidres/view.php
index 3bf64ca7..08475715 100644
--- a/mod/kalvidres/view.php
+++ b/mod/kalvidres/view.php
@@ -66,6 +66,7 @@
$completion = new completion_info($course);
$completion->set_module_viewed($cm);
+$PAGE->requires->css('/mod/kalvidres/styles.css');
echo $OUTPUT->header();
$renderer = $PAGE->get_renderer('mod_kalvidres');