How to make it work inside an indesign document?

There is an option inside indesign that you can call an URL so you are supposed to run html5 inside an web content, ok, i saw it running from other sources, but how i’m supposed to make it work since html5 generated by unreal need a compiling before running??? Any ideias?