Lumieducation / Lumi

Lumi is a Desktop App that offers a collection of tools to create, edit and share digital content with your class.
http://Lumi.education
GNU Affero General Public License v3.0
117 stars 23 forks source link

Timeline: HTML export not working in Firefox #1872

Open pheraph opened 3 years ago

pheraph commented 3 years ago

The HTML export of a H5P-timeline content is not working in Firefox (92.0.1) and produces an error in the browser console:

XML-Verarbeitungsfehler: Syntax-Fehler

In other browsers the problem does not occur, there the content works.

Environment:

sr258 commented 3 years ago

Thank you for reporting this! I can reproduce the issue here, but I don't see an immediate fix. Timeline has been chronically causing issues in the export due to the way it includes its JavaScript and other resources (it does a lot of lazy-loading). They are all inlined with base64 encoding and it looks like this leads to problems in Firefox. For the time being I'd suggest you recommend to the users to use some other browser than Firefox.

swirly commented 2 years ago

I can confirm the bug. Works perfectly with chrome and safari, but not with firefox. Although, If I save the timeline in H5P format, and upload it to a moodle LMS, it works perfectly with firefox.

No error in console, only a CSS in 404. But the CSS is supposed to live in a Library subfolder. May be ajax is stopping to load necessary content because of this faulty link ?

sr258 commented 2 years ago

It's still very difficult to fix this, I'm afraid. I think the benefit - time spent ratio means that I won't work on this, sorry!