Skip to content

Commit

Permalink
MED-114: Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Thies committed May 22, 2024
1 parent 95992b4 commit 5757ae1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion source/streamio/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
$plugin->component = 'mediatimesrc_streamio';
$plugin->release = '1.0';
$plugin->version = 2024010801;
$plugin->requires = 2022112800;
$plugin->requires = 2022110800;
$plugin->maturity = MATURITY_ALPHA;
2 changes: 1 addition & 1 deletion source/videotime/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
$plugin->component = 'mediatimesrc_videotime';
$plugin->release = '1.0';
$plugin->version = 2024010800;
$plugin->requires = 2022112800;
$plugin->requires = 2022110800;
$plugin->maturity = MATURITY_ALPHA;
6 changes: 4 additions & 2 deletions source/vimeo/classes/form/edit_resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ public function definition() {
* Display resource or add file fields
*/
public function definition_after_data() {
global $DB, $OUTPUT;
global $DB, $PAGE;

$output = $PAGE->get_renderer('tool_mediatime');

$mform =& $this->_form;

Expand All @@ -101,7 +103,7 @@ public function definition_after_data() {
$content = json_decode($record->content);
$video = new video($content);
$mform->insertElementBefore(
$mform->createElement('html', $OUTPUT->render($video)),
$mform->createElement('html', $output->render($video)),
'name'
);
$mform->removeElement('vimeo_url');
Expand Down
2 changes: 1 addition & 1 deletion source/vimeo/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
$plugin->component = 'mediatimesrc_vimeo';
$plugin->release = '1.0';
$plugin->version = 2024010802;
$plugin->requires = 2022112800;
$plugin->requires = 2022110800;
$plugin->maturity = MATURITY_ALPHA;
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
$plugin->component = 'tool_mediatime';
$plugin->release = '1.0';
$plugin->version = 2024010804;
$plugin->requires = 2022112800;
$plugin->requires = 2022110800;
$plugin->maturity = MATURITY_ALPHA;
$plugin->dependencies = [
'mod_videotime' => 2023011200,
Expand Down

0 comments on commit 5757ae1

Please sign in to comment.