How to restrict a portrait view if I'm building a landscape course?
Copy link to clipboard
Copied
Is there any script needed because I just need learners to retain a landscape view just like any app games (e.g. Clash of Clans) where you can only view the game in landscape mode.
Copy link to clipboard
Copied
Why build it in responsive then? Unless you have a crying need to have people view the content on a mobile phone, you are probably better off just to use normal project HTML5.
Copy link to clipboard
Copied
It is because client wants it to be responsive and client wants it all landscape I'm just wondering if there is any solutions. I also want to know how or can I restrict learner to rotate his tablet or mobile into portrait view?
Copy link to clipboard
Copied
If you are publishing it as an app, you can restrict it from the config.xml file.
Sreekanth
Copy link to clipboard
Copied
Thanks Sreekanth but it will be uploaded to scorm so I can't publish it as an app. I just read about an article in stackoverflow is this possible? http://stackoverflow.com/questions/10975387/mobile-site-force-landscape-only-no-auto-rotate
Copy link to clipboard
Copied
If your course is meant for mobile users, consider why you’re forcing landscape mode—most learners are comfortable with portrait. Instead of restricting orientation, design a responsive layout that works well in both views for better accessibility.

