> Add a browser object
> On any trigger(like on double tap,tap etc)-->lock orientation (it is there in browser object)
hello,I tried your method, but the mobile phone mode test in Google browser has no effect. Now the screenshot is as follows. Can you give me a demo? thank you very much
Exactly. You are going in correct direction
On left side, instead of "on tap", change it to "tap on an object" or something else. For example, in my game, i am doing " on double tap" --> "request fullscreen" then "lock orientation portail"
On right side, first "request full screen", then "lock the orientation" to whatever you want
Best of luck