I need to give users the possibility to set fullscreen when running an application in the browser (HTML5 target), locking the rotation to landscape. How do I achieve this?
I’d like to know also if it is possible to tell the url and tabs header, and the controls footer in iOS to go away when running the application: I noticed that they go away whenever they want, rotating the cell/tablet or doing something, I didn’t understand exactly when this happens, but I’d like to force this.
To lock the orientation (and master how your app behaves on mobile), you could use this.
I guess the browser support is better now than it was when this post was written.
It’s really simple to use, and works great.
You now just have to figure how to trigger it from your .hx app… but you could just embed the js code in your click callback on the “fullscreen” button.
Currently “fullscreen” is a flag that on HTML5 assumes it scales to the full screen, but I’d like to see this improved more within Lime, open to contributions/suggestions, but we have to bear in mind what different browsers do support