Play video in landscape mode in mobile app
Application Type
Service Studio Version
11.10.4 (Build 36716)

Hey all,

I'm developing an application where all my pages are locked to portrait mode i used this 


    "preferences": {

        "global": [


                "name": "orientation",

                "value": "portrait"





for locking the app in portrait mode ,Now i want to play videos in landscape whenever a image is clicked it should navigate to a screen which plays the video in landscape mode I've tried the following solutions but was unsuccessful 

1) Using   https://www.outsystems.com/forge/component-overview/1429/screen-orientation-plugin  this plugin i added it on initialize and on ready of my video screen and unlocked and set the orientation to landscape and on Destroy lock it to portrait the issue here is when my app is initialized the home screen first opens in landscape to fix this i used the homescreen OnInitialize to lock in portrait but the app first opens for a second in landscape then portrait which is not a nice user experience.  I also tried the system events On Initialize and on resume to lock the orientation.

2)  "plugin" : {

"url": "https://github.com/apache/cordova-plugin-screen-orientation.git"


Used this plugin in my extensibility build the app and used the JS code   screen.orientation.lock('landscape'); to lock the video orientation but this plugin also having the same issue as above plugin

3)   I used another module set its extensibility configuration to landscape and used that in my app but that didnt work.

4)  I also https://www.outsystems.com/forums/discussion/55362/allow-video-play-in-landscape-mode-on-mobile-application/   referred this post this change the orientation.

What are the other possible solutions for playing the video in landscape or how can i fix the above issues 

Thanks & Regards