Thursday, February 18, 2016

Locking web-page screen orientation on Android

Basically, I can't. I've found several references to the old and new standards, and this is perhaps the best:
http://www.sitepoint.com/screen-orientation-api-reloaded/
No matter which version I try, or even if I'm in fullscreen, the orientation of my page doesn't stay locked to 'landscape'. I'm not sure I've completely investigated 'promises', so I'll check that, but for now I'm going to resort to simply telling my tablet not to rotate, in Settings .. Display.

Grr.
Post a Comment