*
* @return string The HTML code to display this H5P content.
*/
- public function output() : string {
+ public function output(): string {
- global $OUTPUT;
+ global $OUTPUT, $USER;
$template = new \stdClass();
$template->h5pid = $this->h5pid;
$string['editor'] = 'Editor';
$string['embed'] = 'Embed';
$string['embedtitle'] = 'View the embed code for this content.';
+ $string['eventh5pviewed'] = 'H5P viewed';
+ $string['eventh5pdeleted'] = 'H5P deleted';
+$string['fetchtypesfailure'] = 'No information could be obtained on the H5P content types available. H5P repository connection failure';
$string['fileExceedsMaxSize'] = 'One of the files inside the package exceeds the maximum file size allowed. ({$a->%file} {$a->%used} > {$a->%max})';
$string['fullscreen'] = 'Fullscreen';
$string['gpl'] = 'General Public License v3';