1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 18:04:43 +02:00

MDL-70327 core_h5p: Add preventredirect to the player

This commit is contained in:
cescobedo 2020-11-25 16:30:04 +01:00
parent c8d33eb9ce
commit 7caad99f99

@ -127,7 +127,8 @@ class player {
$url,
$config,
$this->factory,
$this->messages
$this->messages,
$this->preventredirect
);
if ($file) {
$this->context = \context::instance_by_id($file->get_contextid());