Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

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

New Here ,
Apr 07, 2016 Apr 07, 2016

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.

Views

499
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 07, 2016 Apr 07, 2016

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.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2016 Apr 07, 2016

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?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Apr 07, 2016 Apr 07, 2016

Copy link to clipboard

Copied

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

Sreekanth

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 07, 2016 Apr 07, 2016

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 03, 2025 Mar 03, 2025

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources