You are not logged in.

Kev-in-spain

Intermediate

  • "Kev-in-spain" started this thread

Posts: 152

Location: Barcelona

Occupation: VR Photographer

  • Send private message

1

Thursday, September 10th 2015, 1:34pm

Lock orientation on mobile devices

Hi all,
I've spent some time searching the documentation and the forum for the answer to this but can only find threads on orientation detection.
So, is there a snippet of code I can use to prevent a tour from orientating to landscape on mobile devices but will allow it on tablets?

I'm not asking for anyone to write code for me.... just let me know if it's possible and point me in the right direction.

Thanks

Kev

2

Thursday, September 10th 2015, 2:18pm

Hi,

that's not possible, there exists no API in HTML5 for that yet.

Best regards,
Klaus

Similar threads