diff --git a/filter/kaltura/version.php b/filter/kaltura/version.php index 5e272343..c288afd0 100644 --- a/filter/kaltura/version.php +++ b/filter/kaltura/version.php @@ -24,10 +24,10 @@ */ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2015021107; -$plugin->release = 'Kaltura release 4.0.04'; +$plugin->version = 2015090707; +$plugin->release = 'Kaltura release 4.0.07'; $plugin->requires = 2014050800; $plugin->maturity = MATURITY_STABLE; $plugin->dependencies = array( - 'local_kaltura' => 2015021107 + 'local_kaltura' => 2015090707 ); diff --git a/lib/editor/atto/plugins/kalturamedia/version.php b/lib/editor/atto/plugins/kalturamedia/version.php index 6eee95d8..a673cb34 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 = 2015021107; // The current plugin version (Date: YYYYMMDDXX). -$plugin->release = 'Kaltura release 4.0.04'; +$plugin->version = 2015090707; // The current plugin version (Date: YYYYMMDDXX). +$plugin->release = 'Kaltura release 4.0.07'; $plugin->requires = 2014050800; // Requires this Moodle version. $plugin->component = 'atto_kalturamedia'; // Full name of the plugin (used for diagnostics). $plugin->dependencies = array( - 'local_kaltura' => 2015021107 + 'local_kaltura' => 2015090707 ); diff --git a/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js b/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js index f3e7b1e6..f0e33d62 100644 --- a/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js +++ b/lib/editor/tinymce/plugins/kalturamedia/tinymce/js/ltipopuplib.js @@ -45,7 +45,8 @@ function insertMedia() { var url = ''; var parser = document.createElement('a'); parser.href = form.source.value; - url = token + parser.pathname + parser.search; + var elementPathName = parser.pathname.charAt(0) == '/' ? parser.pathname : '/' + parser.pathname; + url = token + elementPathName + parser.search; var content = 'tinymce-kalturamedia-embed||'+form.video_title.value+'||'+form.width.value+'||'+form.height.value+''; ed.execCommand('mceInsertContent', false, content); tinyMCEPopup.close(); diff --git a/lib/editor/tinymce/plugins/kalturamedia/version.php b/lib/editor/tinymce/plugins/kalturamedia/version.php index 12fee00d..26f15201 100644 --- a/lib/editor/tinymce/plugins/kalturamedia/version.php +++ b/lib/editor/tinymce/plugins/kalturamedia/version.php @@ -23,12 +23,12 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2015021107; -$plugin->release = 'Kaltura release 4.0.04'; +$plugin->version = 2015090707; +$plugin->release = 'Kaltura release 4.0.07'; // Required Moodle version. $plugin->requires = 2014050800; // Full name of the plugin (used for diagnostics). $plugin->component = 'tinymce_kalturamedia'; $plugin->dependencies = array( - 'local_kaltura' => 2015021107 + 'local_kaltura' => 2015090707 ); diff --git a/local/kaltura/attobsepreview.php b/local/kaltura/attobsepreview.php index 86e909d3..50499198 100644 --- a/local/kaltura/attobsepreview.php +++ b/local/kaltura/attobsepreview.php @@ -26,8 +26,9 @@ $PAGE->set_pagelayout('embedded'); echo $OUTPUT->header(); $playurl = urldecode($url); + +echo html_writer::tag('h2', get_string('preview', 'local_kaltura')); ?> -

Preview