Merge branch 'MDL-70327-310' of git://github.com/cescobedo/moodle into MOODLE_310_STABLE
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Dec 2020 03:51:59 +0000 (11:51 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Dec 2020 03:51:59 +0000 (11:51 +0800)
h5p/classes/player.php

index 7cc30a4..dfd6041 100644 (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());