browser cannot readt html if it is on server

Dear community,

a few months ago I found the programm Lumi and I was so glad for the possibility to convert H5P files in html. I wantet to integrate H5P content to our online library, so I put the html file on our server. But when I try to open the file with the browser, it just shows the kryptic source code. I can open the file without any problems with every browser on every device, as long as the file is on the device itself. As soon as it is on the server, the graphic representation fales. 

Does anyone know what could be the problem? Is it a server-thing?

Thank you!

Deborah

otacke's picture

Hi Deborah!

Could be a server-thing, yes. It would be strange if it didn't know how to serve HTML files, but you never know what may have happened with the MIME type settings. I bet if you share a link to one of those files on your server, someone will take a look.

Best,
Oliver

Hi Oliver,

thanks for your answer! :-) I realy would like to link it, but you have to login to see it and you can only login if you are part of our institution. But I have attached a screenshot of how it looks.

otacke's picture

Hi Deborah!

That seems to be part of the code that Lumi generates for the HTML, but I can't tell why it's rendered as text.

Cheers,
Oliver