I'm finding a few different ways to do this in the documentation and it's a bit confusing. What is the correct way to make the global krpano variables available via the JavaScript Interface for HTML5 on mobile devices?
I am able to successfully use this for desktop and it works fine:
Obviously that doesn't work on mobile devices because the krpanoSWFObject does not exist. However, when I follow the instructions here to make it work for HTML5, I get an error in the console that krpano is not defined - even though I am defining it with an onready callback function in the embedpano script.
Could anyone give me a little guidance on how this is supposed to work?