open dynamic html files saved locally on mobile device

I am trying to play a scorm zip file by opening the html file inside. I use file plugin to extract and save the contents of the zip file to the phone. I then use window.open(file:///scormfile.html) to play the scorm file. 

My Problem is that the scorm file plays but then the page has no close button.I have read forums and what i have found, is the only way is to make local server, host the files, then put the link in an iframe to be able to add an exit button to it. I cannot modify the contents of the scorm file as they are user created files.

Is there a way to accomplish this in outsystems?

Hi,

You could wrap the opening of the html in a screen with a close button. On the screen use no layout webblock just and iframe to show the document and a close button to navigate away from the screen.

Regards,

Daniel