Skip to content

Commit

Permalink
MDL-68330 media_videojs: Fix videojs player rendering issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihail Geshoski committed Apr 24, 2020
1 parent 9df4a4d commit 255a62f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion course/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ public function course_section_cm($course, &$completioninfo, cm_info $mod, $sect
$output .= course_get_cm_move($mod, $sectionreturn);
}

$output .= html_writer::start_tag('div', array('class' => 'mod-indent-outer'));
$output .= html_writer::start_tag('div', array('class' => 'mod-indent-outer w-100'));

// This div is used to indent the content.
$output .= html_writer::div('', $indentclasses);
Expand Down
2 changes: 1 addition & 1 deletion media/player/videojs/classes/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function embed($urls, $name, $width, $height, $options) {
}
}

return html_writer::div($text, 'mediaplugin mediaplugin_videojs');
return html_writer::div($text, 'mediaplugin mediaplugin_videojs d-block');
}

/**
Expand Down

0 comments on commit 255a62f

Please sign in to comment.