Skip to main content
Participant
April 7, 2016
質問

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

  • April 7, 2016
  • 返信数 2.
  • 623 ビュー

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.

返信数 2

Participating Frequently
March 4, 2025

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.

RGB_Maestro
RodWard
Community Expert
Community Expert
April 7, 2016

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.

elliboy07作成者
Participant
April 7, 2016

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?

Legend
April 7, 2016

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

Sreekanth