Brilliant! very concise code that does so much. The idea of the incremental variable is cool. It takes care of the recursion issue. I just have one issue now - when there are more than one scenes then the location.reload() takes you to the first scene irrespective of the scene the user was on. See attached hype doc.
orientationtest 2.zip (38.2 KB)
So I guess we might have to revert to storing the scene name. Or maybe there is another way?
Also wanted to know if “hype reflect” has an issue with the event listener. When i try it in larger projects with more scenes reflect’s screen turns blue and I have to test the site on safari for mobile instead. Anyone facing this issue?