I think it might be easier to design the project in landscape mode from the beginning, rather than relying on code to adjust it later.
Feel free to check out the project below for more details! Potre-to Landscape_960x540.approj (2.0 MB)
Thanks for your response!
Just to clarify, are you looking to lock the content orientation so that it follows the screen direction, like in this example?
Let me know so I can better understand and help you out!
From the link you provided, we see that the content appears in landscape orientation on both landscape and portrait screens. Could you please clarify what you’re trying to achieve so we can better assist you?
First, it’s about the orientation. If you want it to look like the screenshot you just shared, then it’s the same as the Saola example above. Could you please confirm that? Once we’re sure, we can explore how to achieve that in ActivePresenter.
Second, the content has its own aspect ratio. If it doesn’t match the screen’s aspect ratio, there will be some empty space either on the sides or at the top and bottom.
Hello
i think you are right, let’s make the project like the Saola example in the example you mentioned. This should be a step in the right direction, let’s verify this in the activepresenter
Thanks
I’ve attached the project file for your reference. You’ll find the JavaScript code in the On Load event under ActivePresenter > Project > Properties > Interactivity tab. Potre-to Landscape (3).approj (2.0 MB)