57
Views
4
Comments
Landscape Video on Mobile
Question

Hi All,


How can I set the video orientation/view to Landscape on mobile? I am using 10.0.907 version of outsystems. 


Is there a forge component for this or this can be done using javascript or css on mobile?


Thank you

2020-09-11 18-53-44
Stacey Levine

On a mobile applcation, there is an extensibility setting.


Define a preference using the Extensibility Configuration that will influence compile time and will lock orientation for the entire application:

{
    "preferences": {
        "global": [{
            "name": "orientation",
            "value": "landscape"
        }]
}
UserImage.jpg
PAUL CERVIN MITCH VILLARIN

Stacey Levine wrote:

On a mobile applcation, there is an extensibility setting.


Define a preference using the Extensibility Configuration that will influence compile time and will lock orientation for the entire application:

{
    "preferences": {
        "global": [{
            "name": "orientation",
            "value": "landscape"
        }]
}

Thank you Stacey

Is this possible to apply only on a specific mobile screen and not the entire application? What I want to achieve is, when the user taps the fullscreen control it will launch another screen and it will show the video in a landscape mode, when the user minimizes the video it will go back to portrait mode because the video is included in an article.

Thanks

2021-03-18 21-03-15
Benjith Sam
 
MVP

PAUL CERVIN MITCH VILLARIN wrote:

Stacey Levine wrote:

On a mobile applcation, there is an extensibility setting.


Define a preference using the Extensibility Configuration that will influence compile time and will lock orientation for the entire application:

{
    "preferences": {
        "global": [{
            "name": "orientation",
            "value": "landscape"
        }]
}

Thank you Stacey

Is this possible to apply only on a specific mobile screen and not the entire application? What I want to achieve is, when the user taps the fullscreen control it will launch another screen and it will show the video in a landscape mode, when the user minimizes the video it will go back to portrait mode because the video is included in an article.

Thanks


Refer this Post: https://www.outsystems.com/forums/discussion/55362/allow-video-play-in-landscape-mode-on-mobile-application/#Post208409

2020-09-11 18-53-44
Stacey Levine

Hmm.. That seems like a pretty odd user experience to be forced to turn your device during use. Typically it would be one way or the other. I think there is an extension in the forge that you could try, but I have not tried it myself. You could also have a separate application that is simply the video player. That application is always landscape and your main application would launch the other one when needed.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.