Skip to main content
Participant
Apr 7, 2016 12:38 PM UTC
Question

How to restrict a portrait view if I'm building a landscape course?

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.

5 replies

Participating Frequently
Mar 4, 2025 6:27 AM UTC

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.

Translate
RGB_Maestro
RodWard
Community Expert
Community Expert
Apr 7, 2016 2:40 PM UTC

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.

Translate
elliboy07Author
Participant
Apr 7, 2016 3:13 PM UTC

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?

Translate
Legend
Apr 7, 2016 3:42 PM UTC

If you are publishing it as an app, you can restrict it from the config.xml file.

Sreekanth

Translate