Unfortunately, there’s no workaround if the HTML5 output is embedded in an iframe.
But you try embedding it directly in your page to overcome this issue.
You need to open the output .html file in a plain text editor, and copy styles, scripts and container tag to your page.
Regards