MDL-70327 core_h5p: Add preventredirect to the player

This commit is contained in:
cescobedo
2020-11-25 16:30:43 +01:00
parent ae8e7f90ad
commit 38914ee3cd
+2 -1
View File
@@ -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());