H5P In-class function