Is there any way to display the H5 page horizontally in the case of the user's vertical screen, and all the content in it is also displayed horizontally, just like in the game?

when watching the js game engine, there is a situation of automatic horizontal screen and automatic vertical screen. When the mobile end develops a mobile page similar to a game (there is no need to use the game engine), the game page design is likely to be in full screen mode. If the user sets a screen lock and does not allow screen rotation, the page should be full of full screen when opened, forcing the page to rotate 90 degrees. Is there a good plan? Rotate the page 90 degrees and rotate all the elements in it?

Mar.17,2021

Correction: the following reply will report an error and, The page needs to be fullscreen in order to call screen.orientation.lock (), does not work.

=

add this sentence to js:

screen.orientation.lock('landscape');

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3afdf-2c287.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3afdf-2c287.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?