mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Merge branch 'MDL-69174-master' of git://github.com/sarjona/moodle into master
This commit is contained in:
commit
d25b7ebd86
@ -88,14 +88,11 @@ if (isset($reviewurl)) {
|
||||
echo $OUTPUT->render($widget);
|
||||
}
|
||||
|
||||
if ($manager->is_tracking_enabled()) {
|
||||
$trackcomponent = 'mod_h5pactivity';
|
||||
} else {
|
||||
$trackcomponent = '';
|
||||
if (!$manager->is_tracking_enabled()) {
|
||||
$message = get_string('previewmode', 'mod_h5pactivity');
|
||||
echo $OUTPUT->notification($message, \core\output\notification::NOTIFY_WARNING);
|
||||
}
|
||||
|
||||
echo player::display($fileurl, $config, true, $trackcomponent);
|
||||
echo player::display($fileurl, $config, true, 'mod_h5pactivity');
|
||||
|
||||
echo $OUTPUT->footer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user