EscolaLMS/H5P

player export issues

Closed this issue · 1 comments

'exportUrl' => route('hh5p.content.export', [$content['id']]),

image

you should check if export config is set to true/false and only then passing this value

like that
https://github.com/h5p/h5p-wordpress-plugin/blob/0dcb0211b953caf9b04fa6662400ff761f9dc894/public/class-h5p-plugin.php#L977

so when config is set to false this should be visible

example

https://demo-stage.escolalms.com/#/course/57/98/941

image

also when set to true there is translation issue

this affect to both exportUrl and displayOptions